зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1338099 - Fix the source packager to produce a non empty sourcestamp.txt file. r=ted
MozReview-Commit-ID: 1DsBkS1eSX8
This commit is contained in:
Родитель
2f0c246fb8
Коммит
a2aba19e6b
|
@ -99,8 +99,7 @@ make-package: FORCE
|
|||
GARBAGE += make-package
|
||||
|
||||
make-sourcestamp-file::
|
||||
$(NSINSTALL) -D $(DIST)/$(PKG_PATH)
|
||||
@echo '$(BUILDID)' > $(MOZ_SOURCESTAMP_FILE)
|
||||
@awk '$$2 == "MOZ_BUILDID" {print $$3}' $(DEPTH)/buildid.h > $(MOZ_SOURCESTAMP_FILE)
|
||||
ifdef MOZ_INCLUDE_SOURCE_INFO
|
||||
@awk '$$2 == "MOZ_SOURCE_URL" {print $$3}' $(DEPTH)/source-repo.h >> $(MOZ_SOURCESTAMP_FILE)
|
||||
endif
|
||||
|
@ -160,7 +159,7 @@ source-package:
|
|||
@echo 'Generate the sourcestamp file'
|
||||
# Make sure to have repository information available and then generate the
|
||||
# sourcestamp file.
|
||||
$(MAKE) -C $(DEPTH) 'source-repo.h'
|
||||
$(MAKE) -C $(DEPTH) 'source-repo.h' 'buildid.h'
|
||||
$(MAKE) make-sourcestamp-file
|
||||
@echo 'Packaging source tarball...'
|
||||
# We want to include the sourcestamp file in the source tarball, so copy it
|
||||
|
|
Загрузка…
Ссылка в новой задаче