Re: [PATCH] Makefile for bootstrap

From: Kinkie <gkinkie_at_gmail.com>
Date: Sat, 31 Dec 2011 16:57:57 +0100

2011/12/30 Henrik Nordström <henrik_at_henriknordstrom.net>:
> 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.

-- 
    /kinkie
Received on Sat Dec 31 2011 - 15:58:04 MST

This archive was generated by hypermail 2.2.0 : Sun Jan 01 2012 - 12:00:09 MST