[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: non-standard configure && cdbs



On Sun, 8 Jan 2006 11:58:29 +0100, Stefano Zacchiroli <zack@debian.org> said:

> I tried something like:

>   configure/foo::
>           ./configure bla bla bla

> but this leads to ./configure being executed twice, one time before
> the actual building, another before the installation.

configure/foo:: configure-foo-stamp

configure-foo-stamp:
        ./configure bla bla bla
        touch configure-foo-stamp

The second time the configure/foo rule is called, it will notice that
the configure-foo-stamp is already present, and not run configure.

-- 
Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.



Reply to: