Re: Problem with VPATH builds and SCRIPTS primary

2016-11-02 Thread Peter Johansson
On 11/02/2016 08:06 PM, Raphaël Halimi wrote: Hi Peter, Thanks for your answer. Just to make sure I understand: CLEANFILES += data/.dirstamp data/.dirstamp: @$(MKDIR_P) data @: > $@ This creates a directory "data", and then a file ".dirstamp" in this directory by redirecting t

Re: Problem with VPATH builds and SCRIPTS primary

2016-11-02 Thread Raphaël Halimi
Hi Peter, Thanks for your answer. Just to make sure I understand: > CLEANFILES += data/.dirstamp > > data/.dirstamp: > @$(MKDIR_P) data > @: > $@ This creates a directory "data", and then a file ".dirstamp" in this directory by redirecting the (empty) result of the "true" command to

Re: Problem with VPATH builds and SCRIPTS primary

2016-10-30 Thread Peter Johansson
Hi Raphael, I have the following in my Makefile.am CLEANFILES += data/.dirstamp data/.dirstamp: @$(MKDIR_P) data @: > $@ data/foo.txt: data/.dirstamp Cheers, Peter On 10/28/2016 05:46 AM, Raphaël Halimi wrote: Hi, I have a problem with parallel build trees (a.k.a. VPATH Bu

Re: Problem with VPATH builds and SCRIPTS primary

2016-10-28 Thread Raphaël Halimi
Le 27/10/2016 à 23:06, Russ Allbery a écrit : > Raphaël Halimi writes: > >> According to section 2.2.6 of GNU automake documentation: > >> "The build tree usually has the same subdirectory layout as the source >> tree; its subdirectories are created automatically by the build system." > >> Unfo

Re: Problem with VPATH builds and SCRIPTS primary

2016-10-27 Thread Russ Allbery
Raphaël Halimi writes: > According to section 2.2.6 of GNU automake documentation: > "The build tree usually has the same subdirectory layout as the source > tree; its subdirectories are created automatically by the build system." > Unfortunately, it doesn't seem to be true for the SCRIPTS prim