This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]