summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-07 21:55:11 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-07 21:55:11 -0400
commitd0eee8f01d74d6a936ec7515b40b8b50f114bc9a (patch)
tree3ef6987344119230b19fd6400d12feb2e7e9938b /toolkit
parent2383a02b59a11e248f86b361be4a675e8682ba1b (diff)
downloaduxp-d0eee8f01d74d6a936ec7515b40b8b50f114bc9a.tar.gz
Align mar generation on Windows with other platforms
This makes mar generation dependent on packaging not installer
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/mozapps/installer/packager-uxp.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/toolkit/mozapps/installer/packager-uxp.mk b/toolkit/mozapps/installer/packager-uxp.mk
index 3125c04f13..856ca434c3 100644
--- a/toolkit/mozapps/installer/packager-uxp.mk
+++ b/toolkit/mozapps/installer/packager-uxp.mk
@@ -15,13 +15,10 @@ ifeq (,$(filter SunOS Linux WINNT,$(OS_ARCH)))
else
$(MAKE) stage-package make-buildinfo-file
@echo 'Compressing...'
+ cd $(DIST)/$(MOZ_PKG_DIR); $(CREATE_PRECOMPLETE_CMD)
ifeq (WINNT,$(OS_ARCH))
cd $(DIST); $(CYGWIN_WRAPPER) 7z a -t7z -m0=lzma2 -mx=9 -aoa -bb3 $(PKG_BASENAME).7z $(MOZ_PKG_DIR)
else
- # Other platforms such as Linux need the Package routine to spawn a pre-complete file
- # Windows does not require this because it is dependent on generating the NSIS
- # Installer which has its own call to generate the precomplete file
- cd $(DIST)/$(MOZ_PKG_DIR); $(CREATE_PRECOMPLETE_CMD)
cd $(DIST); XZ_OPT=-9e $(TAR) cfJv $(PKG_BASENAME).tar.xz $(MOZ_PKG_DIR)
endif
endif