summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorAndre Noll <maan@tuebingen.mpg.de>2026-05-05 14:40:05 +0000
committerAndre Noll <maan@tuebingen.mpg.de>2026-05-05 14:41:34 +0000
commit64d7371b5b17b97708c72eacc04258b93206891e (patch)
tree7fc4d2bf406315a87885ddd257697e26ea679925 /debian/rules
parent06752e8fd1d0c0dea93e1d9675959404758b2fbe (diff)
parent1f3164588b32b381e6b185418658daf2d68733dc (diff)
Merge branch 't/nmu' into t/nmu-debianpu
This brings in the commit which improves version-gen.sh to use $DEB_VERSION, fixing an issue that was reported by Sebastian Ramacher in 2024 as bug #1086623. This change was applied independently by Adrian Bunk, who then NMUed the package to close the bug. Thus, this merge commit also modifies debian/changelog and debian/rules to reflect these changes.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
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