This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: toplevel Makefile.in: autogenerate more


On Tue, Sep 24, 2002 at 07:46:21PM -0400, DJ Delorie wrote:
> 
> > +# Rebuilding Makefile.in, using autogen.
> > +$(srcdir)/Makefile.in: $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
> > +	cd $(srcdir) && autogen Makefile.def
> 
> As much as I like automation, this rule is bad.  Not everyone has
> autogen, and those who don't shouldn't get penalized if they happen to
> get the timestamps rearranged.  IIRC back when we were discussing
> using autogen, we decided that Makefile.in would not normally be built
> automatically, to avoid such things.
> 
> It may be acceptable to make this target conditional on
> --enable-maintainer-mode, since maintainers are expected to have all
> the esoteric packages required for regens.
> 
> Perhaps, for now, the rule could stay if it had a .PHONY target?
I'll just take it out for now.  It's only in there since Alex suggested
it.

I'll get it conditional on enable-maintainer-mode eventually. :-)


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