automake
[Top][All Lists]
Advanced

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

RE: Automake's include "overrides" makes include?


From: Daniel Shane
Subject: RE: Automake's include "overrides" makes include?
Date: Fri, 25 Jan 2002 11:27:13 -0500

And I really though it would be impossible!

Thanks for the tips, and the solution really works, I'm still surprised that
I didnt think of it... so simple now that you mention it..

Daniel Shane

> foreach, subst, and include are not portable, so I suggest you
> take all these rules out of your Makefile.am.  
> 
> Intead, you can create a file called GNUmakefile and fill it
> with all the above rules, plus `include Makefile'.  
> 
> This way if a user runs GNU make all the rules from GNUmakefile
> and Makefile will be used, otherwise only Makefile will be read.
> 
> (Projects like fileutils, textutils, shellutils, autoconf,
> and  bison, use a similar setup.)
> -- 
> Alexandre Duret-Lutz
> 



reply via email to

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