second part: make win32 generate nsIBuildID.h dynamically
This commit is contained in:
Родитель
f3c75906d9
Коммит
055e55fe4f
|
@ -55,15 +55,16 @@ include <$(DEPTH)/config/rules.mak>
|
|||
|
||||
# update build number from within make script
|
||||
build_number::
|
||||
!ifdef MOZILLA_OFFICIAL
|
||||
echo Generating build number...
|
||||
$(RM) $@
|
||||
$(PERL) bdate.pl > $@
|
||||
$(PERL) build_header.pl nsBuildID.h $@
|
||||
!ifdef MOZILLA_OFFICIAL
|
||||
echo Setting build number...
|
||||
$(PERL) aboutime.pl $(DEPTH)/xpfe/browser/resources/locale/en-US/navigator.dtd $@
|
||||
$(PERL) aboutime.pl $(DEPTH)/xpfe/browser/resources/content/viewSource.xul $@
|
||||
!endif
|
||||
|
||||
|
||||
#// Rule to set the timebomb on official mozilla builds
|
||||
|
||||
|
||||
|
@ -90,6 +91,7 @@ makedep.exe:: makedep.cpp
|
|||
$(CC) -MT /O2 /GB $**
|
||||
|
||||
export:: makecopy.exe mangle.exe mantomak.exe bin2rc.exe makedep.exe build_number
|
||||
$(MAKE_INSTALL) nsBuildID.h $(PUBLIC)
|
||||
|
||||
!ifdef MOZ_FULLCIRCLE
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче