summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-12-08 18:08:06 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-12-08 18:08:06 +0100
commit2b0f6ff05d2c6937c1160c497cfb76b43f11f2db (patch)
treea87e2639df12481e2046b835996628b53ec6325c /debian/rules
parentb0995cca556668a4eced03e40e3edbc7362c2a10 (diff)
parent350bb4a03d6562ddba12fbb0a34610aac7706b3c (diff)
downloadpython-apt-2b0f6ff05d2c6937c1160c497cfb76b43f11f2db.tar.gz
merged from the mvo branch
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 2 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 5f1132f1..52f8aaeb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,8 @@
#!/usr/bin/make -f
# Should be include-links, but that somehow fails.
export DEBVER=$(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
-
+# For compatibility, add -DCOMPAT_0_7
export CFLAGS=-Wno-write-strings -DCOMPAT_0_7
-
export PATH := $(CURDIR)/utils:$(PATH)
export pyversions := $(CURDIR)/utils/pyversions
@@ -30,7 +29,7 @@ override_dh_installdocs:
override_dh_strip:
dh_strip -p python-apt --dbg-package=python-apt-dbg
dh_strip -p python3-apt --dbg-package=python3-apt-dbg
-
+
override_dh_compress:
dh_compress -X.js -X_static/* -X _sources/* -X_sources/*/* -X.inv