[Top][All Lists]

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

Problem with building .info files?

From: Paul D. Smith
Subject: Problem with building .info files?
Date: Tue, 14 Nov 2006 17:30:12 -0500

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?

Shouldn't these backups be kept in the build directory?

In general the scripting of this rule seems dodgy in a number of
ways... but maybe there's something special about makeinfo or whatever
that mandates it?

 Paul D. Smith <address@hidden>          Find some GNU make tips at:            
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

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