bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFE: support per-program noinst_HEADERS


From: Chris Pickett
Subject: Re: RFE: support per-program noinst_HEADERS
Date: Wed, 12 Mar 2008 17:50:36 -0400
User-agent: Thunderbird 1.5.0.14 (Macintosh/20071210)

Ralf Wildenhues wrote:
Oh, ok.  Like this?

if PROG1
prog1_headers = ...
else
prog1_headers =

endif
...
noinst_HEADERS = $(prog1_headers) ...

IOW: just rename all *_HEADERS to *_headers, that way automake will
ignore them.  And list all *_headers in noinst_HEADERS.

s/HEADERS/headers/ and adding them all to noinst_HEADERS works, thanks. Apparently I have a limited understanding of dependencies. I still don't know what the "if PROG1" stuff is about (I don't want these test programs to exist conditionally), but I guess it's useful as a general form and thus better for the archives.

Cheers,
Chris




reply via email to

[Prev in Thread] Current Thread [Next in Thread]