зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1179289 - Source package should use consistent prefix directory. r=glandium
This commit is contained in:
Родитель
930d9df184
Коммит
ccac184650
|
@ -204,7 +204,7 @@ upload: checksum
|
|||
source-package:
|
||||
@echo 'Packaging source tarball...'
|
||||
$(MKDIR) -p $(DIST)/$(PKG_SRCPACK_PATH)
|
||||
(cd $(MOZ_PKG_SRCDIR) && $(CREATE_SOURCE_TAR) - $(DIR_TO_BE_PACKAGED)) | xz -9e > $(SOURCE_TAR)
|
||||
(cd $(MOZ_PKG_SRCDIR) && $(CREATE_SOURCE_TAR) - ./ ) | xz -9e > $(SOURCE_TAR)
|
||||
|
||||
hg-bundle:
|
||||
$(MKDIR) -p $(DIST)/$(PKG_SRCPACK_PATH)
|
||||
|
|
|
@ -775,7 +775,7 @@ ifndef MOZ_PKG_SRCDIR
|
|||
MOZ_PKG_SRCDIR = $(topsrcdir)
|
||||
endif
|
||||
|
||||
DIR_TO_BE_PACKAGED ?= ../$(notdir $(topsrcdir))
|
||||
SRC_TAR_PREFIX = $(MOZ_APP_NAME)-$(MOZ_PKG_VERSION)
|
||||
SRC_TAR_EXCLUDE_PATHS += \
|
||||
--exclude='.hg*' \
|
||||
--exclude='CVS' \
|
||||
|
@ -788,7 +788,7 @@ ifdef MOZ_OBJDIR
|
|||
SRC_TAR_EXCLUDE_PATHS += --exclude='$(MOZ_OBJDIR)'
|
||||
endif
|
||||
CREATE_SOURCE_TAR = $(TAR) -c --owner=0 --group=0 --numeric-owner \
|
||||
--mode=go-w $(SRC_TAR_EXCLUDE_PATHS) -f
|
||||
--mode=go-w $(SRC_TAR_EXCLUDE_PATHS) --transform='s,^\./,$(SRC_TAR_PREFIX)/,' -f
|
||||
|
||||
SOURCE_TAR = $(DIST)/$(PKG_SRCPACK_PATH)$(PKG_SRCPACK_BASENAME).tar.xz
|
||||
HG_BUNDLE_FILE = $(DIST)/$(PKG_SRCPACK_PATH)$(PKG_BUNDLE_BASENAME).bundle
|
||||
|
|
Загрузка…
Ссылка в новой задаче