automake-patches
[Top][All Lists]
Advanced

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

Re: distdir.test failures: VPATH and subdirs


From: Alexandre Duret-Lutz
Subject: Re: distdir.test failures: VPATH and subdirs
Date: Wed, 10 May 2006 23:54:46 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

>>> "RW" == Ralf Wildenhues <address@hidden> writes:

[...]

 RW> Do you think it's ok to require that `./file' should not be used?

This reminds me of a friend who used 
  AC_CONFIG_FILES([./Makefile ./sub/Makefile])
and I think it broke something (maybe the rebuild rules).

 RW> Should it be documented in automake.texi?  
 RW> Alternatively, should EXTRA_DIST be rewritten by Automake
 RW> to kill leading "./"?

It's best if we can avoid rewriting anything. 
Maybe we could find a way to warn against it (with -Wportability).
I think ideally Automake should diagnose file names that
are referenced differently in targets and dependencies.

I'm currently writing an introductory chapter for the manual
(partly based on my tutorial), and plan to reorganize and add a
few sections that introduce the naming conventions and the
general syntax (the manual doesn't describe the Makefile.am
syntax so far, srcdir isn't even introduced).  I hope it will be
easier to explain how and when to use ./, $(srcdir), etc., after
that.

 RW> * tests/distdir.test: Do not use leading `./' in EXTRA_DIST for
 RW> files in the source tree.  Fixes failures with HP-UX and Tru64
 RW> make.

Agreed.
-- 
Alexandre Duret-Lutz

Shared books are happy books.     http://www.bookcrossing.com/friend/gadl





reply via email to

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