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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-dev
Sujet: 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