summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2013-10-23 20:19:14 +0200
committerJulian Andres Klode <jak@debian.org>2013-10-23 20:19:14 +0200
commita80bbc568413466f9f24f28e85825e1ddc27751d (patch)
tree74efa1ea029b51694eb20b1f7e2ade54da60d111 /debian/rules
parent617f32fabedbb91d8b4db7dfb5b36c07e5f64d73 (diff)
downloadpython-apt-a80bbc568413466f9f24f28e85825e1ddc27751d.tar.gz
debian: Upgrade to debhelper 9 (and dpkg-buildflags)
This gives us some more hardening, amongst other things.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index b2da3003..4a33c533 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,12 @@
#!/usr/bin/make -f
# Should be include-links, but that somehow fails.
export DEBVER=$(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
-export CFLAGS=-Wno-write-strings
+export DEB_CFLAGS_MAINT_APPEND=-Wno-write-strings
export PATH := $(CURDIR)/utils:$(PATH)
export pyversions := $(CURDIR)/utils/pyversions
%:
- dh --with python2,python3 $@
+ dh $@ --with python2,python3
override_dh_auto_build:
dh_auto_build