Re: Specf file update
Richard Dawe <[email protected]> Sun, 15 Feb 2004 16:04:32 +0000
| Newsgroups | gmane.network.zeroconf.workers |
|---|---|
| Message-ID | <[email protected]> |
Hello.
Steve G wrote:
>>This is a problem with cvs check-outs only, a package built
>
>>from a proper tgz should not show this effect.
>
> This makes sense. The attached patch helps the problem. It does a
> touch of everything before running configure.
[snip]
How do you know that touch is going to touch files in the right order?
What if it takes, say, 2 seconds to touch between configure and
configure.in? Then configure will be out of date with respect to
configure.in.
I don't think this solves the problem - it will just hide it.
> diff -u tmdns/tmdns.spec tmdns.g/tmdns.spec
> --- tmdns/tmdns.spec 2004-02-14 07:49:24.000000000 -0500
> +++ tmdns.g/tmdns.spec 2004-02-15 09:18:45.000000000 -0500
> @@ -25,6 +25,7 @@
> %setup -q
>
> %build
> + find . -name '*' -exec touch {} \;
> ./configure \
> make
>
Maybe you should add an "autogen" script to regenerate all the
autoconf-related files? This is what the GNU projects do in their CVS.
Regards, Rich =]
--
Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ]
"You can't evaluate a man by logic alone."
-- McCoy, "I, Mudd", Star Trek
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click