[Top][All Lists]

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

Re: Problem with building .info files?

From: Ralf Wildenhues
Subject: Re: Problem with building .info files?
Date: Wed, 15 Nov 2006 07:41:15 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hello Paul,

* Paul D. Smith wrote on Tue, Nov 14, 2006 at 11:30:12PM CET:
> The rule for building .info files from .texi files looks incorrect to me:
>       restore=: && backupdir="$(am__leading_dot)am$$$$" && \
>       am__cwd=`pwd` && cd $(srcdir) && \
>       rm -rf $$backupdir && mkdir $$backupdir && \
>         [...]
> It seems to me that cd'ing into $(srcdir) and mucking around in there
> is inappropriate: what if the source tree is on some read-only media,
> or we don't have write privs to it, or whatever?

Then presumably the .info file which was also shipped on the media is up
to date, no?  If not: even if the backupdir is put in the build tree,
storing the possibly-updated .info file in the source tree will fail

Quoting Automake 1.8 NEWS:
|  - Update .info files in the source tree, not in the build tree.  This
|    is what the GNU Coding Standard recommend.  Only Automake 1.7.x
|    used to update these files in the build tree (previous versions did
|    it in the source tree too), and it caused several problems, varying
|    from mere annoyance to portability issues.


reply via email to

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