This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
RE: Automake's include "overrides" makes include?
- From: Daniel Shane <daniel dot shane at eicon dot com>
- To: 'Alexandre Duret-Lutz' <duret_g at lrde dot epita dot fr>
- Cc: "'automake at gnu dot org'" <automake at gnu dot org>
- Date: Fri, 25 Jan 2002 11:27:13 -0500
- Subject: 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
>