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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Andreas Metzler
Date:  
À: exim-dev
Sujet: [exim-dev] OS/Makefile-Base - why a double colon rule
Hello,

I was wondering why I never so an exim build with EXIM_COMPILE_NUMBER 1
and ended up with looking at OS/Makefile-Base which contains this rule:

# Update Exim's version information and build the version object.

version.h version.sh::
    @../scripts/reversion


Can anybody imagine why this is double-colon rule, i.e.
version.h version.sh::
instead of
version.h version.sh:

The double-colon enforces that scripts/reversion is run twice, which is
why we end up with EXIM_COMPILE_NUMBER of at least 2.

cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'