From mboxrd@z Thu Jan 1 00:00:00 1970 From: "William Henney" Subject: Re: Re: make install-info fails for 6.08c Date: Mon, 6 Oct 2008 22:05:30 -0500 Message-ID: <41c818190810062005t3414467v7a11dd935965b14b@mail.gmail.com> References: <41c818190810060933h12e5d0f7w9232d1a5e9b7f07@mail.gmail.com> <87skr977ej.fsf@cantor.griswold.home> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kn2tD-0000qL-PX for emacs-orgmode@gnu.org; Mon, 06 Oct 2008 23:05:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kn2tB-0000q1-Fz for emacs-orgmode@gnu.org; Mon, 06 Oct 2008 23:05:34 -0400 Received: from [199.232.76.173] (port=60664 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kn2tB-0000py-8q for emacs-orgmode@gnu.org; Mon, 06 Oct 2008 23:05:33 -0400 Received: from ik-out-1112.google.com ([66.249.90.178]:55488) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kn2tA-0002p7-Sm for emacs-orgmode@gnu.org; Mon, 06 Oct 2008 23:05:33 -0400 Received: by ik-out-1112.google.com with SMTP id c21so2012303ika.2 for ; Mon, 06 Oct 2008 20:05:30 -0700 (PDT) In-Reply-To: <87skr977ej.fsf@cantor.griswold.home> Content-Disposition: inline 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: Org-mode List Cc: Dan Griswold Hi list On Mon, Oct 6, 2008 at 4:14 PM, Dan Griswold wr= ote: > I saw this, too. And I determined two things: > Nice to know that I'm not the only one to have problems with this. I found the culprit non-patch that led to this change in the Makefile: http://thread.gmane.org/gmane.emacs.orgmode/8247 I can't see how the current version of the install-info Makefile rule can possibly work. From reading the man page it seems that the install-info command, which shouldn't be confused with the Makefile rule, does not actually install the info file. It just updates the dir file in the info directory (which is not even necessary [1]). If you do want to use it, then you have to copy the info file first, as Dan already pointed out. So, I suggest that the Makefile rule might better be something like this: install-info: $(INFOFILES) if [ ! -d $(infodir) ]; then $(MKDIR) $(infodir); else true; fi ; $(CP) $(INFOFILES) $(infodir) for f in $(INFOFILES); do $(INSTALL_INFO) $(infodir)/`basename $f` $(infodir)/dir; done I am not convinced of the cross-platform wisdom of having the shell "for" loop and backtick substitution in there, but I don't know how to do that with pure make syntax. Currently, INFOFILES points to only one file, but the plural name suggests that there may be more someday.... Cheers Will [1] In my emacs (Aquamacs 1.5, emacs 22.2.50.2), a "dir" file is auto-generated on the fly from all the info files in directories in Info-directory-list. --=20 Dr William Henney, Centro de Radioastronom=EDa y Astrof=EDsica, Universidad Nacional Aut=F3noma de M=E9xico, Campus Morelia