I have something like the following in a Makefile.am for my project:
include_HEADERS = @MY_HEADERS@
EXTRA_HEADERS = foo.h bar.h
When I run automake from the top-level directory in my project,
$(MY_HEADERS) gets included in the HEADERS variable in *every* Makefile.in
in the project. This, of course, causes all but one of the resulting
Makefiles to fail when they can't find the headers. I have hacked around
this problem by emptying the MY_HEADERS variable explicitly in every
Makefile.am in the project except for the one where it's actually
pertinent, but I have the feeling that either this is a bug in automake or
I've done something wrong.
--
Braden N. McDaniel
[EMAIL PROTECTED]
<URL:http://www.endoframe.com>