erc-commit
[Top][All Lists]
Advanced

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

[Erc-commit] [commit][master] ELPA: Generate proper version in erc-pkg.e


From: mwolson
Subject: [Erc-commit] [commit][master] ELPA: Generate proper version in erc-pkg.el.
Date: Sat, 26 Jan 2008 17:40:04 -0500

commit 4399c328c90e770e3fb1f1b8dd83f9f651fb7038
Author: Michael W. Olson <address@hidden>
Date:   Sat Jan 26 17:39:11 2008 -0500

    ELPA: Generate proper version in erc-pkg.el.

diff --git a/ChangeLog b/ChangeLog
index 1a872a9..f69ed5f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,10 +7,12 @@
        users of the version that comes with Emacs, and they will have
        erc-list.el by Emacs 23.
        (MISC): Add ChangeLog.07.
-       (elpa): Fix build issue.
+       (elpa): Fix build issue.  Add proper version to erc-pkg.el.
 
        * README.extras: Mention Emacs 23.
 
+       * erc-pkg.el: Make the version string a template.
+
        * erc.texi (Obtaining ERC): Update extras URLs for 5.3.
        (Development): Write instructions for git, and remove those for
        Arch.
diff --git a/Makefile b/Makefile
index 54e4df2..a3ab1f0 100644
--- a/Makefile
+++ b/Makefile
@@ -183,7 +183,8 @@ elpa: $(MANUAL).info
        mkdir -p $(ELPA)/$(SNAPDIR) && chmod 0755 $(ELPA)/$(SNAPDIR)
        cp $(UNCOMPILED) $(SOURCE) $(ELPA)/$(SNAPDIR)
        cp -r images $(ELPA)/$(SNAPDIR)
-       cp erc-pkg.el $(ELPA)/$(SNAPDIR)
+       sed -r -e "s/%VERSION%/$(VERSION)/g" < erc-pkg.el \
+         > $(ELPA)/$(SNAPDIR)/erc-pkg.el
        cp $(MANUAL).info $(ELPA)/$(SNAPDIR)
        cp dir-template $(ELPA)/$(SNAPDIR)/dir
        install-info --section "Emacs" "Emacs" \
diff --git a/erc-pkg.el b/erc-pkg.el
index 23a73a0..a72a03f 100644
--- a/erc-pkg.el
+++ b/erc-pkg.el
@@ -1,3 +1,3 @@
 ;; ELPA package definition for ERC
 
-(define-package "erc" "5.2" "An Emacs Internet Relay Chat client")
+(define-package "erc" "%VERSION%" "An Emacs Internet Relay Chat client")




reply via email to

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