[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interesting automake feature
On 25 Nov 2002, Ingo Ruhnke wrote:
>Jan Ekholm <chakie@infa.abo.fi> writes:
>
>> Apparently I do something wrong, but my Makefile.am is really
>> simple, and contains no custom rules or anything that isn't on the
>> first page of any automake tutorial. My configure.in is also very
>> simple and does nothing more than setup some C++ cruft and check for
>> a few libs. Anyone else seen something like this?
>
>It might be that your headers with no-suffixes are the problem, adding
>a .h or .hpp suffix might help. Another solution would be to not tell
>automake about the header in the _HEADERS variable, but only adding it
>to EXTRA_DIST. IIRC the _HEADERS variable is only needed if you want
>to install the header files, non-install header files belong to the
>_SOURCES.
Ok, I had it in _SOURCES too, then tried noinst_HEADERS, but both clobber
the file.
So, is the bottom line that automake is for C projects, not C++ ones?
--
Real children don't go hoppity-skip unless they are on drugs.
-- Susan Sto Helit, in Hogfather (Terry Pratchett)