diff options
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 7624646..59a864f 100755 --- a/debian/rules +++ b/debian/rules @@ -19,6 +19,8 @@ DOCS_DIR := $(DESTDIR)/usr/share/doc/$(package) DEVDOCS_DIR := $(DEVDIR)/usr/share/doc/$(devpackage) TRIPLET := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +include /usr/share/dpkg/pkg-info.mk +export DEB_VERSION # activate the dh sequencer %: dh "$@" @@ -26,7 +28,8 @@ TRIPLET := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) build-arch: $(checkdir) $(MAKE) $(shell DEB_BUILD_MAINT_OPTIONS=hardening=+all \ - dpkg-buildflags --export=cmdline) + dpkg-buildflags --export=cmdline) \ + DEB_VERSION=$(DEB_VERSION) build-indep: build: build-indep build-arch |
