From 03d031e481abcfd1f245299bd753c4831eea9558 Mon Sep 17 00:00:00 2001 From: "sar%netscape.com" Date: Fri, 18 Sep 1998 10:09:15 +0000 Subject: [PATCH] We want a distinct build number for each build regardless of MOZILLA_OFFICIAL status. This is needed for fullcircle, but it's also the right thing to do. so add a target for build_number, and add it as a dependency to the export target This affects win only, and I've tested it. git-svn-id: svn://10.0.0.236/trunk@10378 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/config/makefile.win | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/mozilla/config/makefile.win b/mozilla/config/makefile.win index 36d23c2700a..766a3c121a4 100644 --- a/mozilla/config/makefile.win +++ b/mozilla/config/makefile.win @@ -40,10 +40,8 @@ include <$(DEPTH)/config/rules.mak> #// Rule to set the timebomb on official mozilla builds !ifdef MOZILLA_OFFICIAL -export:: +export:: $(DEPTH)/build/build_number $(PERL) set-timebomb.pl 0 30 - $(PERL) bdate.pl > $@ - $(PERL) aboutime.pl $(DEPTH)/l10n/us/xp/about-all.html $@ !endif #// @@ -61,7 +59,14 @@ mantomak.exe:: mantomak.c bin2rc.exe:: bin2rc.c $(CC) -O2 -MD bin2rc.c -export:: makecopy.exe mangle.exe mantomak.exe bin2rc.exe +export:: makecopy.exe mangle.exe mantomak.exe bin2rc.exe $(DEPTH)/build/build_number + +#update build number from within make script +$(DEPTH)/build/build_number:: FORCE + $(RM) $@ + $(PERL) bdate.pl > $@ + $(PERL) aboutime.pl $(DEPTH)/l10n/us/xp/about-all.html $@ install:: export +FORCE: