~mozillateam/thunderbird/thunderbird.disco

« back to all changes in this revision

Viewing changes to debian/build/rules.mk

  • Committer: Olivier Tilloy
  • Date: 2020-01-20 21:07:03 UTC
  • Revision ID: olivier.tilloy@canonical.com-20200120210703-arsoeue5ugys45gj
* Use the upstream Build ID, to ensure it is the same across Ubuntu releases for a given thunderbird version (LP: #1851936)
  - debian/build/create-tarball.py
  - debian/build/rules.mk
  - debian/config/mozconfig.in

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
MOZ_OBJDIR              := $(DEB_BUILDDIR)/obj-$(DEB_HOST_GNU_TYPE)
18
18
MOZ_DISTDIR             := $(MOZ_OBJDIR)/dist
19
19
 
 
20
MOZ_BUILDID := $(shell cat $(DEB_SRCDIR)/BUILDID)
 
21
$(info Build ID: $(MOZ_BUILDID))
 
22
 
20
23
ifeq (,$(MOZ_APP))
21
24
$(error "Need to set MOZ_APP")
22
25
endif
128
131
MOZ_PKG_SUPPORT_SUGGESTS ?=
129
132
 
130
133
# Defines used for the Mozilla text preprocessor
131
 
MOZ_DEFINES +=  -DMOZ_LIBDIR="$(MOZ_LIBDIR)" -DMOZ_APP_NAME="$(MOZ_APP_NAME)" \
 
134
MOZ_DEFINES +=  -DMOZ_LIBDIR="$(MOZ_LIBDIR)" -DMOZ_APP_NAME="$(MOZ_APP_NAME)" -DMOZ_BUILDID="$(MOZ_BUILDID)" \
132
135
                -DMOZ_INCDIR="$(MOZ_INCDIR)" -DMOZ_IDLDIR="$(MOZ_IDLDIR)" -DMOZ_VERSION="$(MOZ_VERSION)" -DDEB_HOST_ARCH="$(DEB_HOST_ARCH)" \
133
136
                -DMOZ_DISPLAY_NAME="$(MOZ_DISPLAY_NAME)" -DMOZ_PKG_NAME="$(MOZ_PKG_NAME)" -DDISTRIB="$(DISTRIB)" \
134
137
                -DMOZ_BRANDING_OPTION="$(MOZ_BRANDING_OPTION)" -DTOPSRCDIR="$(CURDIR)" -DDEB_HOST_GNU_TYPE="$(DEB_HOST_GNU_TYPE)" \