From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: ELPA Howto Date: Mon, 04 Oct 2010 22:59:28 +0530 Message-ID: <81tyl1rhmv.fsf@gmail.com> References: <81pqvvofgz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from [140.186.70.92] (port=55805 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P2orM-0006gX-UJ for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 13:29:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P2orL-0008MT-Of for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 13:29:56 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:46933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P2orL-0008MG-Hf for emacs-orgmode@gnu.org; Mon, 04 Oct 2010 13:29:55 -0400 Received: by pzk26 with SMTP id 26so3566110pzk.0 for ; Mon, 04 Oct 2010 10:29:51 -0700 (PDT) In-Reply-To: (Carsten Dominik's message of "Mon, 4 Oct 2010 15:39:02 +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 --=-=-= Hello Carsten > Ji Jambunathan, > > there is something in your Makefile patch I do not understand: > >> >> X @@ -325,6 +328,14 @@ distfile: >> X zip -r org-$(TAG).zip org-$(TAG) >> X gtar zcvf org-$(TAG).tar.gz org-$(TAG) >> X >> X +elpa: install-info > > Why are you saying the elpa is dependent on install-info? > So that the 'dir' file is created and info manual is made available to the user. ,---- [ from package.texi ] | If the package has an Info manual, you should distribute the needed | info files, plus a @file{dir} file made with @command{install-info}. | @xref{Invoking install-info, Invoking install-info, Invoking | install-info, texinfo, Texinfo}. `---- ,---- [ from package.el ] | ;; Add info node. | (when (file-exists-p (expand-file-name "dir" pkg-dir)) | ;; FIXME: not the friendliest, but simple. | (require 'info) | (info-initialize) | (push pkg-dir Info-directory-list)) `---- I am re-attaching my original patch. Jambunathan K. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-Add-support-for-elpa-archives.patch Content-Description: patch >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 --=-=-= > - Carsten > > >> X + $(MKDIR) org-$(TAG) >> X + cp -r $(LISPFILES0) org-$(TAG)/ >> X + cp $(infodir)/dir org-$(TAG) >> X + cp $(INFOFILES) org-$(TAG) >> X + echo "(define-package \"org\" \"$(TAG)\" \"$(DOCSTRING)\")" > >> org-$(TAG)/org-pkg.el >> X + tar cf org-$(TAG).tar org-$(TAG) --remove-files >> X + >> X makerelease: >> X @if [ "X$(TAG)" = "X" ]; then echo "*** No tag ***"; exit 1; fi >> X ${MAKE} distfile >> X >> >> Jambunathan K. >> >> _______________________________________________ >> 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 > > - Carsten --=-=-= 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 --=-=-=--