Re: new option --enable-maintainer

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Wed Jan 13 1999 - 00:30:10 EST


On Jan 12, 1999, Godmar Back <gback@cs.utah.edu> wrote:

> So if you say "make all" or "make" it won't touch the .in files, even
> if the "proper" version of automake is installed. You have to say
> "make makefiles" or "make configure-files" or whatever name you can
> come up with.

That's *very* hard to do, because the Makefile depends on
config.status and Makefile.in, and Makefile.in depends on configure.in
and Makefile.am. GNU make will automatically rebuild Makefile if it
finds it to be out-of-date, and this triggers all the rest.

So --enable-maintainer-mode would be the only way to avoid, once and
for all, this automatic rebuild, within the current build framework.

But there are better (IMHO) alternatives: a script, to be run after
`cvs update', that touches files to ensure that all timestamps of
auto*-generated files are up-to-date, or `autoreconf' (installed with
autoconf 2.13), that rebuilds them as needed, if you have the
recommended versions of autoconf and automake installed.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:40 EDT