erc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Erc-commit] [commit][emacs22] Make an ELPA package for ERC


From: mwolson
Subject: [Erc-commit] [commit][emacs22] Make an ELPA package for ERC
Date: Sun, 14 Oct 2007 00:49:00 -0400

commit 12686f83709818e59089998685c1d117401c3be2
Author: Michael Olson <address@hidden>
Date:   Sat May 19 23:08:15 2007 +0000

    Make an ELPA package for ERC
    
    2007-05-19  Michael Olson  <address@hidden>
    
        * Makefile (ELPA): New variable that contains the location of my
        local ELPA repository.
        (elpa): New rule that makes an ELPA package for ERC.
    git-archimport-id: address@hidden/erc--rel--5.2--patch-19

diff --git a/ChangeLog b/ChangeLog
index 8228b98..b2f86df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-19  Michael Olson  <address@hidden>
+
+       * Makefile (ELPA): New variable that contains the location of my
+       local ELPA repository.
+       (elpa): New rule that makes an ELPA package for ERC.
+
 2007-04-01  Michael Olson  <address@hidden>
 
        * erc.el (erc-version-string): Release ERC 5.2.
diff --git a/Makefile b/Makefile
index 98ff913..365709c 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,9 @@ INSTALLINFO = install-info --info-dir=$(INFODIR)
 #the above line.
 #INSTALLINFO = install-info --section "Emacs" "emacs" --info-dir=$(INFODIR)
 
+# Location of Emacs Lisp Package Archive entries
+ELPA=../../elpa
+
 all: lisp $(MANUAL).info
 
 lisp: $(TARGET) 
@@ -189,3 +192,21 @@ upload-extras:
          echo close >> upload.lftp ; \
          lftp -f upload.lftp ; \
          rm -f upload.lftp)
+
+elpa: $(MANUAL).info
+       rm -fR $(ELPA)/$(SNAPDIR)
+       rm -f $(ELPA)/erc-$(VERSION).tar
+       mkdir -p $(ELPA)/$(SNAPDIR) && chmod 0755 $(ELPA)/$(SNAPDIR)
+       cp $(UNCOMPILED) $(SOURCE) $(ELPA)/$(SNAPDIR)
+       cp -r images $(ELPA)/$(SNAPDIR)
+       cp erc-pkg.el $(ELPA)/$(SNAPDIR)
+       cp $(MANUAL).info $(ELPA)/$(SNAPDIR)
+       echo '* Menu:' > $(ELPA)/$(SNAPDIR)/dir
+       echo >> $(ELPA)/$(SNAPDIR)/dir
+       install-info --section "Emacs" "Emacs" \
+         --info-dir=$(ELPA)/$(SNAPDIR) \
+         $(ELPA)/$(SNAPDIR)/$(MANUAL).info
+       rm -f $(ELPA)/$(SNAPDIR)/dir.old
+       test -d $(ELPA)/$(SNAPDIR)/images/.arch-ids && \
+         rm -R $(ELPA)/$(SNAPDIR)/images/.arch-ids || :
+       (cd $(ELPA) && tar cf erc-$(VERSION).tar $(SNAPDIR))
diff --git a/erc-pkg.el b/erc-pkg.el
new file mode 100644
index 0000000..37d1285
--- /dev/null
+++ b/erc-pkg.el
@@ -0,0 +1,4 @@
+;; ELPA package definition for ERC
+
+(define-package "erc" "5.2"
+  "IRC client that is powerful, modular, and extensible")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]