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
Родитель b9821bb9ef
Коммит 8c3595f335
2 изменённых файлов: 28 добавлений и 1 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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)