From 0abd4b5e7fdf740b8b749a57f93da4f59f010606 Mon Sep 17 00:00:00 2001 From: Jambunathan K Date: Thu, 30 Sep 2010 12:10:29 +0530 Subject: [PATCH 2] Add support for elpa archives --- Makefile | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) mode change 100644 => 100755 Makefile diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 index 1c1f317..a84b62f --- a/Makefile +++ b/Makefile @@ -53,6 +53,9 @@ CP = cp -p # Name of the program to install info files INSTALL_INFO=install-info + +DOCSTRING = "Outline-based notes management and organizer" + ##---------------------------------------------------------------------- ## BELOW THIS LINE ON YOUR OWN RISK! ##---------------------------------------------------------------------- @@ -325,6 +328,14 @@ distfile: zip -r org-$(TAG).zip org-$(TAG) gtar zcvf org-$(TAG).tar.gz org-$(TAG) +elpa: install-info + $(MKDIR) org-$(TAG) + cp -r $(LISPFILES0) org-$(TAG)/ + cp $(infodir)/dir org-$(TAG) + cp $(INFOFILES) org-$(TAG) + echo "(define-package \"org\" \"$(TAG)\" \"$(DOCSTRING)\")" > org-$(TAG)/org-pkg.el + tar cf org-$(TAG).tar org-$(TAG) --remove-files + makerelease: @if [ "X$(TAG)" = "X" ]; then echo "*** No tag ***"; exit 1; fi ${MAKE} distfile -- 1.7.2.3