Thanks for the reply, but this is not what I'm looking for.
Lets say that the file "my_include.am" declares a rule to generate
documentation :
$cat my_include.am
doc :
INPUT=. doxygen doxygen.cfg
Now, I wish to include this rule in every Makefile generated from
Makefile.in that are themselves generated from Makefile.am.
A simple solution would be to include "my_include.am" in all
Makefile.am as follow :
head -n 1 ./src/Makefile.am
include $(top_srcdir)/my_include.am
head -n 1 ./src/tools/Makefile.am
include $(top_srcdir)/my_include.am
However, I don't want to add the "include" instruction in the
Makefile.am, in fact, I don't want to modify those files at all.
My question is : is there any way to get the same result by modifying
another automake's config file, like configure.ac for instance ?