зеркало из https://github.com/mozilla/pjs.git
changing nsBuildID.h so that it does the right thing w/regards to rebuilds
This commit is contained in:
Родитель
af20f7ca85
Коммит
9fe01986a9
|
@ -70,6 +70,7 @@ $(DEPTH)/build/build_number: FORCE
|
|||
$(PERL) $(srcdir)/bdate.pl > $@
|
||||
$(PERL) $(srcdir)/aboutime.pl $(topsrcdir)/xpfe/browser/resources/locale/en-US/navigator.dtd $@
|
||||
$(PERL) $(srcdir)/aboutime.pl $(topsrcdir)/xpfe/browser/resources/content/viewSource.xul $@
|
||||
$(PERL) $(srcdir)/aboutime.pl $(topsrcdir)/xpfe/appshell/public/nsBuildID.h $@
|
||||
|
||||
$(DEPTH)/modules/libpref/src/init/all.js: FORCE
|
||||
$(PERL) $(srcdir)/set-timebomb.pl 0 30
|
||||
|
|
|
@ -13,6 +13,11 @@ $id = $_;
|
|||
$id =~ s/Build ID:\s\d+/$temp/;
|
||||
print OUTFILE $id;
|
||||
}
|
||||
elsif ($id =~ "NS_BUILD_ID") {
|
||||
$temp = "NS_BUILD_ID " . $build;
|
||||
$id =~ s/NS_BUILD_ID\s\d+/$temp/;
|
||||
print OUTFILE $id;
|
||||
}
|
||||
else {
|
||||
print OUTFILE $_;
|
||||
}
|
||||
|
|
|
@ -55,14 +55,14 @@ 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 $@
|
||||
$(PERL) aboutime.pl $(DEPTH)/xpfe/appshell/public/nsBuildID.h $@
|
||||
!endif
|
||||
|
||||
#// Rule to set the timebomb on official mozilla builds
|
||||
|
|
Загрузка…
Ссылка в новой задаче