From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: ELPA Howto Date: Tue, 05 Oct 2010 15:41:09 +0530 Message-ID: <818w2d54qq.fsf@gmail.com> References: <81pqvvofgz.fsf@gmail.com> <81iq1hstpb.fsf@gmail.com> <26B375B7-7226-4E43-9291-CB49151AB427@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from [140.186.70.92] (port=54560 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P34VF-00075G-Sm for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 06:12:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P34Ud-0007E9-1X for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 06:12:03 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:45057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P34Uc-0007De-Rw for emacs-orgmode@gnu.org; Tue, 05 Oct 2010 06:11:31 -0400 Received: by pvc7 with SMTP id 7so4010459pvc.0 for ; Tue, 05 Oct 2010 03:11:29 -0700 (PDT) In-Reply-To: <26B375B7-7226-4E43-9291-CB49151AB427@gmail.com> (Carsten Dominik's message of "Tue, 5 Oct 2010 04:13:17 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org --=-=-= Carsten Reworked the changes based on your feedback. Customize to your tastes. Jambunathan K. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Support-for-elpa-compatible-tarballs.patch >From 1121461037e0308054afeabf8c67bd1a568dd9b1 Mon Sep 17 00:00:00 2001 From: Jambunathan K Date: Tue, 5 Oct 2010 15:33:08 +0530 Subject: [PATCH] Support for elpa-compatible tarballs * Makefile (pkg): New target for creating elpa-compatible tarball. --- Makefile | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 1c1f317..3b92534 100644 --- a/Makefile +++ b/Makefile @@ -164,6 +164,19 @@ CARDFILES = doc/orgcard.tex doc/orgcard.pdf doc/orgcard_letter.pdf TEXIFILES = doc/org.texi INFOFILES = doc/org +# Package Manager (ELPA) +PKG_TAG = $(shell date +%Y%m%d) +PKG_DOC = "Outline-based notes management and organizer" +PKG_REQ = "nil" + +PKG_FILES = $(LISPFILES0) \ + doc/dir doc/org \ + doc/pdflayout.sty \ + doc/org.pdf \ + doc/orgguide.pdf \ + doc/orgcard.tex \ + doc/orgcard.pdf \ + doc/orgcard_letter.pdf .SUFFIXES: .el .elc .texi SHELL = /bin/sh @@ -325,6 +338,17 @@ distfile: zip -r org-$(TAG).zip org-$(TAG) gtar zcvf org-$(TAG).tar.gz org-$(TAG) +pkg: + @if [ "X$(PKG_TAG)" = "X" ]; then echo "*** No tag ***"; exit 1; fi + touch doc/org.texi doc/orgcard.tex # force update + ${MAKE} info + ${MAKE} doc + rm -rf org-$(PKG_TAG) org-$(PKG_TAG).tar + $(MKDIR) org-$(PKG_TAG) + cp -r $(PKG_FILES) org-$(PKG_TAG) + echo "(define-package \"org\" \"$(PKG_TAG)\" \"$(PKG_DOC)\" $(PKG_REQ))" > org-$(PKG_TAG)/org-pkg.el + tar cf org-$(PKG_TAG).tar org-$(PKG_TAG) --remove-files + makerelease: @if [ "X$(TAG)" = "X" ]; then echo "*** No tag ***"; exit 1; fi ${MAKE} distfile -- 1.7.2.3 --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=-=-=--