[Build-common-hackers] Bug#534868: Bug#534868: Bug#534868: use Makefile as stamp rather than config.status

Jonas Smedegaard dr at jones.dk
Mon Jun 29 08:49:35 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On Sun, Jun 28, 2009 at 01:37:40PM +0200, Robert Millan wrote:
>On Sun, Jun 28, 2009 at 12:15:26PM +0300, Peter Eisentraut wrote:
>> On Saturday 27 June 2009 21:51:24 Robert Millan wrote:
>> > The stamp file used for configure target is config.status, which is 
>> > always present with configure scripts generated by autoconf.  
>> > However, not all configure scripts are generated by autoconf.
>> >
>> > A number of projects ship a script with similar semantics that will 
>> > generate Makefile but not config.status (qemu and mplayer are two 
>> > notable examples).
>> >
>> > I recommend that Makefile is used as stamp file instead.  This 
>> > prevents redundant configure runs on such packages.
>>
>> But not all configure scripts generate a Makefile either.
>>
>> A valid solution may be to provide a variable that allows specifying 
>> the stamp file.  But the default has to stay config.status.
>
>In that case, I think the best solution would be to generate a stamp in 
>CDBS. Then no matter what configure does, it will always work.  How 
>does that sound?

Sounds better.

How about a configurable stamp, CDBS-specific by default, and by default 
overridden in the automake.mk snippet to be config.status ?



Kind regards,

   - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

   [x] quote me freely  [ ] ask before reusing  [ ] keep private
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREDAAYFAkpIgB8ACgkQn7DbMsAkQLh9oQCfcKnBvvJtw11kpxl0CW9k+jM0
e/IAoIKaisoVHeEm91cnjuXhf2+udvbg
=AjXG
-----END PGP SIGNATURE-----





More information about the Build-common-hackers mailing list