Skip to content

Commit

Permalink
Makefile: build ELPA package for Muse
Browse files Browse the repository at this point in the history
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
mwolson committed Jun 17, 2007
1 parent 0e451aa commit 65ab701
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
22 changes: 21 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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))
7 changes: 6 additions & 1 deletion Makefile.defs
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 65ab701

Please sign in to comment.