shuffling things around... build_number should be generated at each export

pass through config (doing this manually in the release process)
This commit is contained in:
leaf%mozilla.org 1999-07-02 09:04:22 +00:00
parent 94672686a6
commit d886e5c4b0

View File

@ -51,11 +51,16 @@ INSTALL_DIR=$(DIST)\bin
#//------------------------------------------------------------------------
include <$(DEPTH)/config/rules.mak>
# update build number from within make script
build_number::
$(RM) $@
$(PERL) bdate.pl > $@
echo Setting build number...
$(PERL) aboutime.pl $(DEPTH)/xpfe/browser/src/navigator.xul $@
#// Rule to set the timebomb on official mozilla builds
!ifdef MOZILLA_OFFICIAL
export:: build_number
$(PERL) set-timebomb.pl 0 30
!endif
#//
#// Rule to build makedir.exe
@ -75,22 +80,13 @@ bin2rc.exe:: bin2rc.c
makedep.exe:: makedep.cpp
@cl -MT makedep.cpp
export:: makecopy.exe mangle.exe mantomak.exe bin2rc.exe makedep.exe build_number
# update build number from within make script
build_number:: FORCE
$(RM) $@
$(PERL) bdate.pl > $@
echo Setting build number...
$(PERL) aboutime.pl $(DEPTH)/xpfe/browser/src/navigator.xul $@
export:: makecopy.exe mangle.exe mantomak.exe bin2rc.exe makedep.exe build_number INSTALL_FILES
!ifdef MOZILLA_OFFICIAL
$(PERL) set-timebomb.pl 0 30
!endif
!ifdef MOZ_FULLCIRCLE
export:: INSTALL_FILES
master.pl: build_number
$(PERL) build-number.pl
@ -102,6 +98,4 @@ install:: master.ini
$(MAKE_INSTALL) master.ini $(DIST)\bin\
!endif
install:: export
FORCE::