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 this file. > data/foo.txt: data/.dirstamp > <some rule> This creates a file "foo.txt" (in my case it would be a shell script) in the "data" directory according to a some rule. Unlike the other solution, this doesn't involve configure.ac, and so it's usable with a "pure" automake setup (without autoconf). This is not the case of my current setup but still, I see this as an advantage, to clearly separate the "configure" phase and the "make" phase (I'm still new to autotools). Are there other pros/cons I didn't see, compared to the creation of the directory with AC_CONFIG_COMMANDS ? Regards, -- Raphaël Halimi
signature.asc
Description: OpenPGP digital signature