The rule for building .info files from .texi files looks incorrect to me:

  .texinfo.info:
        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 <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


Reply via email to