Ralf Wildenhues <ralf.wildenh...@gmx.de> writes:

> Unfortunately, Automake doesn't yet provide a good API for directory
> stamping yet.  You can easily use your own though, that don't interfere
> with automake's stamps and rules:
>
>   subdir/generated-file: subdir/my-dirstamp
>         commands ...
>   subdir/my-dirstamp:
>         @$(MKDIR_P) subdir
>         @: > $@
>   DISTCLEANFILES += subdir/my-dirstamp

A possibly simpler way, depending on what you're trying to accomplish, is
to do this at configure time:

AC_CONFIG_COMMANDS([tests/data/.placeholder], [touch tests/data/.placeholder])

-- 
Russ Allbery (r...@stanford.edu)             <http://www.eyrie.org/~eagle/>


Reply via email to