mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 547599 - Port the comm-central "make package-compare", r=ted
--HG-- extra : rebase_source : 47c1811b5c3328c40c26143e930095c61d772682
This commit is contained in:
parent
069b03338e
commit
05e68337ca
@ -55,6 +55,9 @@ installer:
|
||||
package:
|
||||
@$(MAKE) -C browser/installer
|
||||
|
||||
package-compare:
|
||||
@$(MAKE) -C browser/installer package-compare
|
||||
|
||||
install::
|
||||
@$(MAKE) -C browser/installer install
|
||||
|
||||
|
@ -109,20 +109,38 @@ endif
|
||||
include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
|
||||
|
||||
ifeq (bundle, $(MOZ_FS_LAYOUT))
|
||||
DEFINES += \
|
||||
-DBINPATH=$(_BINPATH) \
|
||||
-DAPPNAME=$(_APPNAME) \
|
||||
$(NULL)
|
||||
BINPATH = $(_BINPATH)
|
||||
DEFINES += -DAPPNAME=$(_APPNAME)
|
||||
else
|
||||
# Every other platform just winds up in dist/bin
|
||||
DEFINES += -DBINPATH=bin
|
||||
BINPATH = bin
|
||||
endif
|
||||
DEFINES += -DBINPATH=$(BINPATH)
|
||||
|
||||
libs::
|
||||
$(MAKE) -C $(DEPTH)/browser/locales langpack PKG_LANGPACK_PATH=
|
||||
|
||||
UPLOAD_EXTRA_FILES += $(PKG_LANGPACK_BASENAME).xpi
|
||||
|
||||
ifeq (WINNT,$(OS_ARCH))
|
||||
PKGCOMP_FIND_OPTS =
|
||||
else
|
||||
PKGCOMP_FIND_OPTS = -L
|
||||
endif
|
||||
ifeq (Darwin, $(OS_ARCH))
|
||||
FINDPATH = $(_APPNAME)/Contents/MacOS
|
||||
else
|
||||
FINDPATH=bin
|
||||
endif
|
||||
|
||||
package-compare:: $(MOZ_PKG_MANIFEST)
|
||||
ifdef MOZ_PKG_MANIFEST_P
|
||||
cd $(DIST); find $(PKGCOMP_FIND_OPTS) $(FINDPATH) -type f | sort > bin-list.txt
|
||||
grep "^$(BINPATH)" $(MOZ_PKG_MANIFEST) | sed -e 's/^\///' | sort > $(DIST)/pack-list.txt
|
||||
-diff -u $(DIST)/pack-list.txt $(DIST)/bin-list.txt
|
||||
rm -f $(DIST)/pack-list.txt $(DIST)/bin-list.txt
|
||||
endif
|
||||
|
||||
installer:: removed-files
|
||||
ifdef INSTALLER_DIR
|
||||
$(MAKE) -C $(INSTALLER_DIR)
|
||||
|
Loading…
Reference in New Issue
Block a user