emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: ELPA Howto
Date: Mon, 04 Oct 2010 22:59:28 +0530	[thread overview]
Message-ID: <81tyl1rhmv.fsf@gmail.com> (raw)
In-Reply-To: <DEC72ED0-70EA-4545-8DD2-B5825C77BDAB@gmail.com> (Carsten Dominik's message of "Mon, 4 Oct 2010 15:39:02 +0200")

[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]


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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-patch, Size: 1297 bytes --]

From 0abd4b5e7fdf740b8b749a57f93da4f59f010606 Mon Sep 17 00:00:00 2001
From: Jambunathan K <kjambunathan@gmail.com>
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


[-- Attachment #3: Type: text/plain, Size: 683 bytes --]


> - 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

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

  reply	other threads:[~2010-10-04 17:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30  7:30 ELPA Howto Jambunathan K
2010-09-30 14:34 ` Jeff Horn
2010-10-02 18:22 ` Eric Schulte
2010-10-03  4:23   ` Jambunathan K
2010-10-04  1:28     ` Eric Schulte
2010-10-04 13:15       ` Eric Schulte
2010-10-20 16:37     ` Bastien
2010-10-20 19:44       ` Jambunathan K
2010-10-20 21:00         ` Eric Schulte
2010-10-04 13:39 ` Carsten Dominik
2010-10-04 17:29   ` Jambunathan K [this message]
2010-10-04 18:23   ` Jambunathan K
2010-10-05  2:13     ` Carsten Dominik
2010-10-05 10:11       ` Jambunathan K
2010-10-05 11:09   ` Version string (was Re: ELPA Howto) Jambunathan K
2010-10-08 10:38     ` Carsten Dominik
2010-10-08 11:45       ` Carsten Dominik
2010-10-09  5:27         ` Jambunathan K
2010-10-08 15:26       ` Jambunathan K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=81tyl1rhmv.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).