summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-04-12 19:10:48 +0200
committerJulian Andres Klode <jak@debian.org>2009-04-12 19:10:48 +0200
commit3bbb577e8a47ed05041c2532531e0e263f821c2c (patch)
tree3ffb82dffe96e52ecf7471f6782cfaa60267b68b /debian/rules
parent8e4f00f1b6349b55eebce3c9cccbcab7ab438a85 (diff)
downloadpython-apt-3bbb577e8a47ed05041c2532531e0e263f821c2c.tar.gz
setup.py, debian/rules: Support version in setup.py again by getting
the value from the variable DEBVER (defined in debian/rules), falling back to None.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index a2802ea7..6d709ecd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,7 @@ PKG=python-apt
DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p')
DEB_COMPRESS_EXCLUDE:=.html .js _static/* _sources/* _sources/*/* .inv
DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS)
+export DEBVER
build/python-apt-dbg::
set -e; \