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 Sep 24, 2002, DJ Delorie <dj@delorie.com> wrote:

> 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.

If they use the recommended script, contrib/gcc_update, they'll get it
right.

If the rule is not to be activated, I'd rather have it in Makefile.in,
even if commented out, than not at all.  How about:

Makefile.in: # Makefile.tpl Makefile.def  # srcdir omitted for clarity
        ...

so, if one removes Makefile.in, we try to rebuild it, otherwise it
won't be modified just because you touched one of the other files, but
the deps are still documented.

Then, when we get --enable-maintainer-mode in the top level, we'll
just have to replace the `#' with @MAINT@.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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