Hi,
(Please CC me in any reply, I am not subscribed.)
I would like to be able to use noinst_prog_HEADERS, but with 1.10.1 I
get a complaint about noinst_progdir not being defined:
`noinst_prog_HEADERS' is used but `noinst_progdir' is undefined
I can work around this like this:
Hi Chris,
* Chris Pickett wrote on Wed, Mar 12, 2008 at 07:50:46PM CET:
I would like to be able to use noinst_prog_HEADERS, but with 1.10.1 I
get a complaint about noinst_progdir not being defined:
You can just put all your not-to-be installed headers into the *_SOURCES
alongside the
* Chris Pickett wrote on Wed, Mar 12, 2008 at 08:10:41PM CET:
Ralf Wildenhues wrote:
* Chris Pickett wrote on Wed, Mar 12, 2008 at 07:50:46PM CET:
I would like to be able to use noinst_prog_HEADERS, but with 1.10.1 I
get a complaint about noinst_progdir not being defined:
You can just put
* Chris Pickett wrote on Wed, Mar 12, 2008 at 08:34:34PM CET:
Ralf Wildenhues wrote:
So why not this?
noinst_HEADERS =
if PROG1
noinst_HEADERS += ...
else
noinst_HEADERS += ...
endif
if PROG2
noinst_HEADERS += ...
endif
I'm sorry, I don't really understand... how do I set PROG1 and
Ralf Wildenhues wrote:
* Chris Pickett wrote on Wed, Mar 12, 2008 at 08:10:41PM CET:
Ralf Wildenhues wrote:
* Chris Pickett wrote on Wed, Mar 12, 2008 at 07:50:46PM CET:
I would like to be able to use noinst_prog_HEADERS, but with 1.10.1 I
get a complaint about noinst_progdir not being
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