This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Auto regeneration of Makefile.in and Makefile
- To: wgheath at fedex dot com
- Subject: Re: Auto regeneration of Makefile.in and Makefile
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 29 Aug 2000 11:59:38 -0600
- Cc: "automake at gnu dot org" <automake at gnu dot org>
- References: <39ABEAC4.7CD22BD7@cosd.fedex.com>
- Reply-To: tromey at cygnus dot com
>>>>> "Tim" == Tim Heath <th374862@cosd.fedex.com> writes:
Tim> It appears that when I modify Makefile.am it will then
Tim> automatically modify Makefile.in. If I modify Makefile.in it
Tim> will automatically cause the Makefile to be regenerated. How can
Tim> I stop that?
Generally speaking, you don't really want to.
However, you can use maintainer mode to do this if you really must.
Tim> I want to stop it because the Makefile has special parameters I
Tim> have taken out so it would compile with my compiler and when the
Tim> Makefile is regenerated it is very irritating to go back and
Tim> retake it out.
Don't edit the Makefiles.
Instead do something else, like have the information put into the
Makefile via a configure substitution.
Tim> I also know what places to modify in all three files so I don't
Tim> have rerun automake and then configure on everything.
I don't understand.
Tim> I would like to avoid this problem all together by writing some
Tim> m4 macros for my particular compiler so it would generate a
Tim> Makefile that my compiler would be happy with. Does anyone know
Tim> of a good tutorial or reference to do this?
What are you trying to accomplish?
Tom