second part: make win32 generate nsIBuildID.h dynamically

This commit is contained in:
cyeh%netscape.com 1999-08-19 20:45:59 +00:00
Родитель f3c75906d9
Коммит 055e55fe4f
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -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