RFE: support per-program noinst_HEADERS

2008-03-12 Thread Chris Pickett
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:

Re: RFE: support per-program noinst_HEADERS

2008-03-12 Thread Ralf Wildenhues
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

Re: RFE: support per-program noinst_HEADERS

2008-03-12 Thread Ralf Wildenhues
* 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

Re: RFE: support per-program noinst_HEADERS

2008-03-12 Thread Ralf Wildenhues
* 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

Re: RFE: support per-program noinst_HEADERS

2008-03-12 Thread Chris Pickett
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

Re: RFE: support per-program noinst_HEADERS

2008-03-12 Thread Chris Pickett
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