mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 05:14:24 +00:00
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:
parent
18d3b48379
commit
a8a03036c3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user