зеркало из https://github.com/mozilla/pjs.git
"Brad Lassey" - Bug 445918 - Setting xr version in deb package to gre version + buildid, relanding after backout in de1e95ba7165 r=ted
This commit is contained in:
Родитель
6a74303cb0
Коммит
38deffc75c
|
@ -130,12 +130,24 @@ install:: $(pkg_config_files)
|
|||
|
||||
GARBAGE += $(MOZILLA_VERSION).system.conf $(pkg_config_files)
|
||||
|
||||
GARBAGE += debian/changelog
|
||||
|
||||
DEBDESTDIR=debian/$(MOZ_BUILD_APP)
|
||||
|
||||
GRE_MILESTONE = $(shell $(PYTHON) $(topsrcdir)/config/printconfigsetting.py $(LIBXUL_DIST)/bin/platform.ini Build Milestone)
|
||||
GRE_BUILDID = $(shell $(PYTHON) $(topsrcdir)/config/printconfigsetting.py $(LIBXUL_DIST)/bin/platform.ini Build BuildID)
|
||||
MOZ_DEB_TIMESTAMP = "$(shell date +"%a, %d %b %Y %T %z" )"
|
||||
|
||||
DEFINES += -DGRE_MILESTONE=$(GRE_MILESTONE) -DGRE_BUILDID=$(GRE_BUILDID) -DMOZ_DEB_TIMESTAMP=$(MOZ_DEB_TIMESTAMP)
|
||||
|
||||
|
||||
ifeq ($(OS_TARGET),Linux)
|
||||
deb:
|
||||
debian/changelog: $(srcdir)/debian/changelog.in
|
||||
mkdir -p debian
|
||||
$(PYTHON) $(topsrcdir)/config/Preprocessor.py \
|
||||
$(AUTOMATION_PPARGS) $(DEFINES) $(ACDEFINES) $^ > $@
|
||||
|
||||
deb: debian/changelog
|
||||
$(NSINSTALL) $(topsrcdir)/$(MOZ_BUILD_APP)/installer/debian .
|
||||
rm -rf $(DEBDESTDIR)/usr/local/*
|
||||
$(NSINSTALL) -D $(DEBDESTDIR)/usr/local
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
xulrunner (@MOZ_APP_VERSION@) unstable; urgency=low
|
||||
#filter substitution
|
||||
xulrunner (@GRE_MILESTONE@-@GRE_BUILDID@) unstable; urgency=low
|
||||
|
||||
* Mozilla Nightly (Closes: #nnnn) <nnnn is the bug number of your ITP>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче