зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
b9821bb9ef
Коммит
8c3595f335
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче