Re: [exim-dev] OS/Makefile-Base - why a double colon rule

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy Harris
Data:  
Para: exim-dev
Asunto: Re: [exim-dev] OS/Makefile-Base - why a double colon rule
On 26/12/17 13:46, Andreas Metzler wrote:
> Can anybody imagine why this is double-colon rule, i.e.
> version.h version.sh::
> instead of
> version.h version.sh:


Tony Finch might know.

At a guess, to ensure it is run at least once - even when version.h
already exists. When originally written there was only version.h ;
version.sh was added later.

Possibly we could use a FRC: target, if the above guess is right.
We could use .PHONEY in gnu make, but it is not portable so would prefer
not.
--
Cheers,
Jeremy