On 17 August 2007 12:28, Andreas Schwab wrote: > Paolo Carlini <[EMAIL PROTECTED]> writes: > >> Revital1 Eres wrote: >> >>> Also on ppc64. >>> >>> >> Everywhere! > > The file is only updated by the new config/gcc_update script, so if you > update the first time it is not created. How about this:
> DATESTAMP := $(srcdir)/DATESTAMP # YYYYMMDD or empty > -REVISION := $(srcdir)/REVISION # [BRANCH revision XXXXXX] > +REVISION := $(wildcard $(srcdir)/REVISION) # [BRANCH revision XXXXXX] > > BASEVER_c := $(shell cat $(BASEVER)) > DEVPHASE_c := $(shell cat $(DEVPHASE)) > DATESTAMP_c := $(shell cat $(DATESTAMP)) > > -ifeq (,$(wildcard $(REVISION))) > +ifdef REVISION > REVISION_c := > else > REVISION_c := $(shell cat $(REVISION)) I'm not clear about this, are we allowed to use gnu-specific features like $(wildcard ...) in this makefile? cheers, DaveK -- Can't think of a witty .sigline today....