emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "William Henney" <whenney@gmail.com>
To: Org-mode List <emacs-orgmode@gnu.org>
Cc: Dan Griswold <dgriswol@rochester.rr.com>
Subject: Re: Re: make install-info fails for 6.08c
Date: Mon, 6 Oct 2008 22:05:30 -0500	[thread overview]
Message-ID: <41c818190810062005t3414467v7a11dd935965b14b@mail.gmail.com> (raw)
In-Reply-To: <87skr977ej.fsf@cantor.griswold.home>

Hi list

On Mon, Oct 6, 2008 at 4:14 PM, Dan Griswold <dgriswol@rochester.rr.com> wrote:
> 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.



-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

      reply	other threads:[~2008-10-07  3:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-06 16:33 make install-info fails for 6.08c William Henney
2008-10-06 21:14 ` Dan Griswold
2008-10-07  3:05   ` William Henney [this message]

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=41c818190810062005t3414467v7a11dd935965b14b@mail.gmail.com \
    --to=whenney@gmail.com \
    --cc=dgriswol@rochester.rr.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).