From fd859cc013562737043591e725c224a1cdc2187c Mon Sep 17 00:00:00 2001 From: Reinhard Tartler Date: Sat, 17 Jun 2017 19:23:49 -0400 Subject: Fix upstream version identification --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 525f257d..2acc53ac 100755 --- a/debian/rules +++ b/debian/rules @@ -3,6 +3,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +include /usr/share/dpkg/pkg-info.mk + # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) @@ -21,7 +23,7 @@ configure: configure-stamp configure-stamp: dh_testdir dh_autotools-dev_updateconfig - echo "0.11rc8+`cat .svnrevision`" > VERSION.txt + echo "$(DEB_VERSION_UPSTREAM_REVISION)" > VERSION.txt echo "boxbackup" >> VERSION.txt sh -x ./bootstrap ./configure $(DEB_EXTRA_CONFIG_FLAGS) LDFLAGS="-Wl,--as-needed" -- cgit v1.2.3