[Pkg-owncloud-commits] [owncloud-client] 03/05: Use /usr/share/dpkg/default.mk
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 24 09:14:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit a268f21aa54729a0b9d53e9f194aa24a10910a51
Author: Sandro Knauß <bugs at sandroknauss.de>
Date: Sat Oct 24 03:15:22 2015 +0200
Use /usr/share/dpkg/default.mk
* remove own hacks to get debian version
* use hardening=+all
---
debian/rules | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index a25070e..519720e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,9 @@
#!/usr/bin/make -f
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
%:
dh $@ --parallel --with sphinxdoc --with pkgkde_symbolshelper --with python3
@@ -17,7 +18,7 @@ else
endif
override_dh_auto_configure:
- dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DUNIT_TESTING=ON -DDEBIAN_VERSION=$(DEBVERS)
+ dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DUNIT_TESTING=ON -DDEBIAN_VERSION=$(DEB_VERSION)
override_dh_auto_build:
optipng doc/images/*png
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list