summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 7a6ff690..f9b08384 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,10 +17,11 @@ PY3K_VERSIONS := $(shell find /usr/bin/python3.? | sed s/.*python//)
PKG=python-apt
DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p')
DEB_COMPRESS_EXCLUDE:=.html .js _static/* _sources/* _sources/*/* .inv
+DEB_PYTHON_INSTALL_ARGS_ALL=--no-compile --install-layout=deb
DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS)
# Define COMPAT_0_7 to get all the deprecated interfaces.
-export CFLAGS+=-DCOMPAT_0_7
+export CFLAGS+=-DCOMPAT_0_7 -Wno-write-strings
export DEBVER
build/python-apt::