summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-07-11 07:34:51 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-07-11 07:34:51 +0200
commitd3e82e18b3f597c5913954d8a24f5023ff55fa52 (patch)
tree7d69e52aa70bda28ab3d672063d9e0bee24f5f52 /debian/rules
parent380a9a3ff3a376cfe768033375663e934516e4a6 (diff)
parentf6b346a25e872df149886713e8056725726f5ac1 (diff)
Merge branch 'release/debian/1.1.1-1'debian/1.1.1-1
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 6 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index b8258ef..d42cda7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,10 +14,13 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#
export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) -Wall
-UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -n '/\(Version:\)/{s/^Version:[[:space:]]\+\([0-9]\+:\)\?\(.*\)/\2/p}' | rev | cut -d- -f 2- | rev)
+#
+# for use $(DEB_ ...
+#
+include /usr/share/dpkg/default.mk
%:
- dh $@ --with autoreconf
+ dh $@
override_dh_auto_build-indep:
dh_auto_build
@@ -29,4 +32,4 @@ override_dh_installdocs-indep:
override_dh_makeshlibs:
dh_makeshlibs
- dpkg-gensymbols -v$(UPSTREAM_VERSION) -plibpsocksxx0
+ dpkg-gensymbols -v$(DEB_VERSION_UPSTREAM) -plibpsocksxx0