This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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


> +# 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?


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