On 1/01/2012 4:57 a.m., Kinkie wrote:
2011/12/30 Henrik Nordström<[email protected]>:
tis 2011-12-27 klockan 13:56 +0100 skrev Kinkie:
I'd like to add the attached file to the top-level squid directory.
It is meant to track dependencies for regenerating the toplevel
configure only when needed.
What do this buy compared to the --enable-maintainer-mode configure
flag?
Just tested:
case 1:
$ ./bootstrap.sh
$ ./configure --enable-maintainer-mode -C
(configure)
$ make
(build)
$ touch ./helpers/basic_auth/POP3/Makefile.am
$ make
(build)
case 2:
$ make -f Makefile.bootstrap Makefile&& make
(bootstrap)
(configure)
(build)
$ make -f Makefile.bootstrap Makefile&& make
(build)
$ touch ./helpers/basic_auth/POP3/Makefile.am
$ make -f Makefile.bootstrap Makefile&& make
(bootstrap)
(configure)
(build)
In other words, Makefile.bootstrap is useful for those situations
where coding touches any file used for bootstrapping, unless I
misunderstood what --enable-maintainer-mode does.
Slightly better test would be to touch by adding a comment line. That
alters any kind of file hash that may be used in the background to avoid
useless work when timestamps are unreliable.
Amos