bug-standards
[Top][All Lists]
Advanced

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

Re: standards for info install


From: Karl Berry
Subject: Re: standards for info install
Date: Thu, 18 Feb 2010 23:05:21 GMT

    Shouldn't mkinstalldirs be a dependency for do-install-info to insure
    that $(DESTDIR)$(infodir)/ exists?

No, because mkinstalldirs might not exist, in general.  Ensuring that
the directory exists, which is certainly desirable, is another can of
worms that would go far afield here.  It's an example.

      d=.
      install -m 644 $d/slib.info /usr/local/share/info/slib.info
      install: cannot stat `/slib.info': No such file or directory

That's the mistake Ralf pointed out that I made, leaving off the ;\ in
the trial example in my example (that was never committed), so $d wasn't
defined in the install command.  The example that was actually in
standards.texi did work, aside from the problems you pointed out
originally.

    Someone reading standards.info is looking at examples to learn best
    practices.  If the example of an installation of a single file does
    not follow the text of standards.info, and contains fatal bugs to
    boot, what is the reader supposed to conclude?

I conclude that I shouldn't have sent you my trial example.




reply via email to

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