[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to include condition in Makefile.am so it gets propagated to Makefil
From: |
Daniel Kabs |
Subject: |
How to include condition in Makefile.am so it gets propagated to Makefile.in? |
Date: |
Mon, 13 Feb 2006 09:47:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 |
Hello!
Regarding my question in
<43a7ec9c$0$9651$9b4e6d93@newsread2.arcor-online.net>
about how to include a conditional, e.g.
ifeq ($(MAKECMDGOALS),help)
MAKEFLAGS = -k
endif
the problem was: If I run "automake" on Makefile.am containing the above
code, "automake" moves the assignment out of the if-endif clause. My
workaround was to have this code in a separate file and import it using
the "include" directive.
I'd like to know what is the _standard automake procedure_ to include
that conditional so it gets propagated verbatim to Makefile(.in)?
Thanks!
Cheers
Daniel
--
Refactor, don't archive! - SamHasler - 28 Aug 2004 - twiki.org
- How to include condition in Makefile.am so it gets propagated to Makefile.in?,
Daniel Kabs <=