summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-23 14:39:50 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-23 14:39:50 +0200
commita387c499d9d82430ab490a157c5a04668cbf3e4e (patch)
tree7a1b18158d09b1d21d46cef05958ce13d3f78d3d /debian/rules
parent8004f1a7ad3cc6a3659517f3374bdf1b63416b24 (diff)
New release 0.20.0.1
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules9
1 files changed, 4 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index 02d836b..b5c9967 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,13 @@
#!/usr/bin/make -f
-CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
-CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
-CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
-LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
VALAFLAGS:=$(foreach w,$(CPPFLAGS) $(CFLAGS) $(LDFLAGS),-X $(w))
%:
dh $@
-#--dbg-package=shotwell-dbg
override_dh_auto_configure:
./configure --debug --prefix=/usr --libexec=/usr/lib --disable-schemas-compile