emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] ELPA Howto


From: Jambunathan K
Subject: Re: [Orgmode] ELPA Howto
Date: Mon, 04 Oct 2010 22:59:28 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (windows-nt)

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.

>From 0abd4b5e7fdf740b8b749a57f93da4f59f010606 Mon Sep 17 00:00:00 2001
From: Jambunathan K <address@hidden>
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.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> - Carsten

reply via email to

[Prev in Thread] Current Thread [Next in Thread]