bug-automake
[Top][All Lists]
Advanced

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

Re: make functions in EXTRA_DIST are misparsed


From: Alexandre Duret-Lutz
Subject: Re: make functions in EXTRA_DIST are misparsed
Date: Sun, 17 Nov 2002 20:00:32 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu)

>>> "Andrew" == Andrew Suffield <address@hidden> writes:

[...]

 Andrew> test_cases := $(wildcard dancer.*/*.cs) $(wildcard dancer.*/*.pl)
 Andrew> EXTRA_DIST := README config/unix.pl $(test_cases)

 Andrew> A directory $(distdir)/dancer.* is created; 

Automake splits variables on spaces.  

I guess you could use something like
$(address@hidden@dancer.*/*.cs) and AC_SUBST @SPACE@ from
configure.in as a work around.

 Andrew> the shell function is not expanded.

These are "GNU make functions".
Use -Wportability if you want to get warnings about this.

[...]

 Andrew> [I used to explicitly list all the test scripts, but then you have to
 Andrew> remember to add new ones, or else they silently disappear from the
 Andrew> distribution and nothing notices].

And conversly, http://sources.redhat.com/ml/automake/2002-04/msg00119.html
-- 
Alexandre Duret-Lutz





reply via email to

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