shuffling things around... build_number should be generated at each export
pass through config (doing this manually in the release process) git-svn-id: svn://10.0.0.236/trunk@38024 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e14b01c876
commit
11713ccc2c
@ -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::
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user