mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
Bug 798450 - Avoid installing .mkdir.done and precomplete with make install. r=ted
This commit is contained in:
parent
74eaf79e43
commit
77a75e4cc6
@ -101,6 +101,7 @@ _ABS_DIST = $(call core_abspath,$(DIST))
|
||||
JARLOG_DIR = $(call core_abspath,$(DEPTH)/jarlog/)
|
||||
JARLOG_DIR_AB_CD = $(JARLOG_DIR)/$(AB_CD)
|
||||
|
||||
TAR_CREATE_FLAGS := --exclude=.mkdir.done $(TAR_CREATE_FLAGS)
|
||||
CREATE_FINAL_TAR = $(TAR) -c --owner=0 --group=0 --numeric-owner \
|
||||
--mode="go-w" --exclude=.mkdir.done -f
|
||||
UNPACK_TAR = tar -xf-
|
||||
@ -889,7 +890,7 @@ ifeq (bundle,$(MOZ_FS_LAYOUT))
|
||||
$(error "make install" is not supported on this platform. Use "make package" instead.)
|
||||
endif
|
||||
$(NSINSTALL) -D $(DESTDIR)$(installdir)
|
||||
(cd $(DIST)/$(MOZ_PKG_DIR) && tar $(TAR_CREATE_FLAGS) - .) | \
|
||||
(cd $(DIST)/$(MOZ_PKG_DIR) && tar --exclude=precomplete $(TAR_CREATE_FLAGS) - .) | \
|
||||
(cd $(DESTDIR)$(installdir) && tar -xf -)
|
||||
$(NSINSTALL) -D $(DESTDIR)$(bindir)
|
||||
$(RM) -f $(DESTDIR)$(bindir)/$(MOZ_APP_NAME)
|
||||
|
Loading…
Reference in New Issue
Block a user