From bc1363bd302ce6ec376d1204ebad56d951063078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Thu, 29 Oct 2015 00:33:16 +0100 Subject: beautify d/rules, d/changelog --- debian/rules | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index b6c8c00..b8258ef 100755 --- a/debian/rules +++ b/debian/rules @@ -9,12 +9,13 @@ # export DEB_BUILD_MAINT_OPTIONS = hardening=+all - # # add -Wall to compilerflags # 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) + %: dh $@ --with autoreconf @@ -26,10 +27,6 @@ override_dh_installdocs-indep: cp -r $(CURDIR)/doc/doxygen/html/* $(CURDIR)/debian/libpsocksxx-doc/usr/share/doc/libpsocksxx-doc/docs/ dh_installdocs -UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -n '/\(Version:\)/{s/^Version:[[:space:]]\+\([0-9]\+:\)\?\(.*\)/\2/p}' | rev | cut -d- -f 2- | rev) - override_dh_makeshlibs: dh_makeshlibs - dpkg-gensymbols -c0 -v$(UPSTREAM_VERSION) -plibpsocksxx0 - - + dpkg-gensymbols -v$(UPSTREAM_VERSION) -plibpsocksxx0 -- cgit v1.2.3