[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Makefile remaking loop
From: |
Frank Küster |
Subject: |
Re: Makefile remaking loop |
Date: |
Tue, 08 Mar 2005 09:20:44 +0100 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) |
Boris Kolpackov <address@hidden> schrieb:
> address@hidden (Frank Küster) writes:
>
>> I have written a Makefile for a Debian package which works just fine on
>> my local machine. However, on one of the autobuilders (in this case
>> it's for Debian experimental) it goes in a seemingly endless loop.
>
> It's because your box is too fast.
I suspected such a thing...
> You problem is equivalent to the one in the following simple makefile
> (assume there is a file called makefile.in in the current directory):
>
> all: ;@:
Uups, what does that mean? Where is it explained in the info file?
> %: %.in force
> sleep 2 && touch $@
>
> force:
> @true
>
> The endless loop comes from an (implicitly) phony target `force'
> which is remade unconditionally and thus renders whatever depends
> on it out of date (makefile, in our case).
I see.
> So in your case
> the solution would be to get rid of those proxy targets and use
> real files instead.
Thank you, I'll have to look at that.
Regards, Frank
--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer