Fix bug of package being created multiple times by only creating the package during the libs phase (still requires BUILD_OFFICIAL=1) and making libs the default target.

git-svn-id: svn://10.0.0.236/trunk@110537 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
seawood%netscape.com
2001-12-15 09:53:28 +00:00
parent 6bd9f56396
commit 58910bbdd1

View File

@@ -91,6 +91,8 @@ EXCLUDE_LIST = \
$(DIST)/bin/viewer \
$(NULL)
libs:: $(TARGETS)
include $(topsrcdir)/config/rules.mk
GARBAGE += $(DIST)/$(PACKAGE) $(PACKAGE)
@@ -112,8 +114,6 @@ MOZILLA_BIN = $(DIST)/bin/mozilla$(BIN_SUFFIX)
OSPACKAGE = os2
endif
all export libs:: $(TARGETS)
$(PACKAGE): $(MOZILLA_BIN)
@rm -rf $(DIST)/$(MOZ_PKG_APPNAME) $(DIST)/$(PKG_BASENAME).tar $@ $(EXCLUDE_LIST)
# NOTE: this must be a cp now that dist links into the tree so that we