Re: Conditional Makefile Fragment

2008-10-05 Thread Russ Allbery
"Tom Browder" <[EMAIL PROTECTED]> writes: > Well, that's the behavior I observed. I was hoping that I could get > nicer output by not even printing the false branch. If I understand your question correctly, this is a limitation on the templating system used to generate Makefile from Makefile.in.

Re: Conditional Makefile Fragment

2008-10-05 Thread Tom Browder
On Sun, Oct 5, 2008 at 5:31 AM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > Hello Tom, .. > * Tom Browder wrote on Sat, Oct 04, 2008 at 02:29:02AM CEST: >> In my Makefile.am I would like to do something like this: ... > Well, if ENABLE_PDF is false, the other branch will be commented out. > You ca

Re: Conditional Makefile Fragment

2008-10-05 Thread Ralf Wildenhues
Hello Tom, * Tom Browder wrote on Sat, Oct 04, 2008 at 02:29:02AM CEST: > In my Makefile.am I would like to do something like this: > > if ENABLE_PDF > < 1. lines of normal Make syntax> > else > < 2. lines of normal Make syntax> > endif > > When I try it, all the lines appear in the final Makefi

Conditional Makefile Fragment

2008-10-03 Thread Tom Browder
In my Makefile.am I would like to do something like this: if ENABLE_PDF < 1. lines of normal Make syntax> else < 2. lines of normal Make syntax> endif When I try it, all the lines appear in the final Makefile, but the false branch is commented out. Is there any way to output the true branch and