Bug 308864, packager.mk fails when MOZ_PKG_REMOVALS is unset after bug 300136, breaking !firefox packaging. Fix MOZ_PKG_REMOVALS. r=darin

This commit is contained in:
mark%moxienet.com 2005-09-17 02:21:17 +00:00
parent 18d3b48379
commit a8a03036c3

View File

@ -294,10 +294,14 @@ endif
@echo "Removing unpackaged files..."
ifeq ($(MOZ_PKG_FORMAT),DMG)
cd $(DIST)/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/MacOS; rm -rf $(NO_PKG_FILES)
ifdef MOZ_PKG_REMOVALS
$(SYSINSTALL) $(MOZ_PKG_REMOVALS_GEN) $(DIST)/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/MacOS
endif # MOZ_PKG_REMOVALS
else
cd $(DIST)/$(MOZ_PKG_APPNAME); rm -rf $(NO_PKG_FILES)
ifdef MOZ_PKG_REMOVALS
$(SYSINSTALL) $(MOZ_PKG_REMOVALS_GEN) $(DIST)/$(MOZ_PKG_APPNAME)
endif # MOZ_PKG_REMOVALS
endif
@echo "Compressing..."
cd $(DIST); $(MAKE_PACKAGE)