Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Makefile: build ELPA package for Muse

2007-06-17  Michael Olson  <mwolson@gnu.org>

	* Makefile: Add elpa target, which is used for building an ELPA
	package for Muse.

	* Makefile.defs (ELPADIR, ELPADESC): New variables used for
	building ELPA packages.
git-archimport-id: mwolson@gnu.org--2006/muse--main--1.0--patch-371
  • Loading branch information...
commit 65ab701f2a2309998cc9fc45e6e44d91f36cedca 1 parent 0e451aa
@mwolson mwolson authored
Showing with 33 additions and 2 deletions.
  1. +6 −0 ChangeLog
  2. +21 −1 Makefile
  3. +6 −1 Makefile.defs
View
6 ChangeLog
@@ -1,5 +1,11 @@
2007-06-17 Michael Olson <mwolson@gnu.org>
+ * Makefile: Add elpa target, which is used for building an ELPA
+ package for Muse.
+
+ * Makefile.defs (ELPADIR, ELPADESC): New variables used for
+ building ELPA packages.
+
* lisp/muse-latex.el (muse-latex-slides-header)
(muse-latex-lecture-notes-header): Docfix.
View
22 Makefile
@@ -1,6 +1,6 @@
.PHONY: all lisp contrib autoloads examples experimental doc info-only
.PHONY: clean realclean distclean fullclean install-info install-bin install
-.PHONY: test dist release debbuild debrevision debrelease upload
+.PHONY: test dist release debbuild debrevision debrelease upload elpa
include Makefile.defs
@@ -104,3 +104,23 @@ upload: release
(cd .. && \
scp $(PROJECT)-$(VERSION).zip* $(PROJECT)-$(VERSION).tar.gz* \
mwolson@download.gna.org:/upload/muse-el)
+
+elpa: realclean info-only
+ rm -fR $(ELPADIR)/$(PROJECT)-$(VERSION)
+ rm -f $(ELPADIR)/$(PROJECT)-$(VERSION).tar
+ mkdir -p $(ELPADIR)/$(PROJECT)-$(VERSION)
+ cp lisp/*.el $(ELPADIR)/$(PROJECT)-$(VERSION)
+ cp contrib/*.el $(ELPADIR)/$(PROJECT)-$(VERSION)
+ echo '(define-package "$(PROJECT)" "$(VERSION)"' > \
+ $(ELPADIR)/$(PROJECT)-$(VERSION)/$(PROJECT)-pkg.el
+ echo ' "$(ELPADESC)")' >> \
+ $(ELPADIR)/$(PROJECT)-$(VERSION)/$(PROJECT)-pkg.el
+ cp texi/$(MANUAL).info $(ELPADIR)/$(PROJECT)-$(VERSION)
+ echo '* Menu:' > $(ELPADIR)/$(PROJECT)-$(VERSION)/dir
+ echo >> $(ELPADIR)/$(PROJECT)-$(VERSION)/dir
+ install-info --section "Emacs" "Emacs" \
+ --info-dir=$(ELPADIR)/$(PROJECT)-$(VERSION) \
+ $(ELPADIR)/$(PROJECT)-$(VERSION)/$(MANUAL).info
+ rm -f $(ELPADIR)/$(PROJECT)-$(VERSION)/dir.old
+ (cd $(ELPADIR) && tar cf $(PROJECT)-$(VERSION).tar \
+ $(PROJECT)-$(VERSION))
View
7 Makefile.defs
@@ -23,8 +23,13 @@ INSTALLINFO = install-info --info-dir=$(INFODIR)
# Useful only for the maintainer
PROJECT = muse
DEBNAME = muse-el
-VERSION = 3.02.93.arch.265
+VERSION = 3.03
MANUAL = muse
LASTUPLOAD = 3.02.8-1
BUILDOPTS =
DISTRIBUTOR = debian
+
+# Location of Emacs Lisp Package Archive entries
+ELPADIR = ../../elpa
+# Description of ELPA package
+ELPADESC = Authoring and publishing tool
Please sign in to comment.
Something went wrong with that request. Please try again.