Provide a mechanism to exclude unwanted files from firefox .zip/.tar build packaging (bug 238210). r=ben. Should only affect firefox release builds.

This commit is contained in:
bryner%brianryner.com 2004-03-24 19:22:52 +00:00
parent 242a607d8b
commit 11137226fc
2 changed files with 28 additions and 1 deletions

View File

@ -42,4 +42,27 @@ VPATH = @srcdir@
NO_GECKO_SDK=1
include $(topsrcdir)/xpinstall/packager/Makefile
NO_PKG_FILES = \
TestGtkEmbed \
bloaturls.txt \
codesighs* \
elf-dynstr-gc \
firefox-config \
mangle* \
maptsv* \
mfc* \
mkdepend* \
nm2tsv* \
nsinstall* \
rebasedlls* \
regchrome* \
regxpcom* \
res/samples \
res/throbber \
xpcshell* \
xpidl* \
xpt_dump* \
xpt_link* \
$(NULL)
include $(DEPTH)/xpinstall/packager/Makefile

View File

@ -235,6 +235,10 @@ endif # DMG
ifeq (,$(filter mozilla firefox,$(MOZ_PKG_APPNAME)))
@echo "Creating start script $(MOZ_PKG_APPNAME)..."
cd $(DIST)/$(MOZ_PKG_APPNAME); if [ -f mozilla ]; then cp mozilla $(MOZ_PKG_APPNAME); fi
endif
ifdef NO_PKG_FILES
@echo "Removing unpackaged files..."
cd $(DIST)/$(MOZ_PKG_APPNAME); rm -rf $(NO_PKG_FILES)
endif
@echo "Compressing..."
cd $(DIST); $(MAKE_PACKAGE)