summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-05-06 09:11:15 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-05-06 09:11:15 +0000
commit5e4d32fbdcb6ab0bfe5326e09fea1c9ecd7ef98d (patch)
treeb6a5a7086df1ddde0a03b0600df5597a75f5dca0 /debian/rules
parent69a3c876af74e2499b5068441b5d89ca53c3583a (diff)
downloadpython-apt-5e4d32fbdcb6ab0bfe5326e09fea1c9ecd7ef98d.tar.gz
* merged with matts mainline
Patches applied: * apt@packages.debian.org/python-apt--main--0--patch-9 Merge michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0 * apt@packages.debian.org/python-apt--main--0--patch-10 Merge minor changes from michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0 * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-16 * merged with Greek0@gmx.net--2005-main/python-apt--debian--0.6 * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-17 * python/pkgsrcrecords.cc: fix a refcount problem * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-18 * changed version to 0.6.11 * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-19 * build depends against python-dev (without a version). this will do the right thing on both debian and ubuntu * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-20 * made the "arch-build" target work again * michael.vogt@ubuntu.com--2005/python-apt--pkgDepCache--0--patch-21 * made arch-build work again (for real this time)
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 16d26380..0ab6fa27 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,9 @@ export DH_OPTIONS
# This is the debhelper compatibility version to use.
export DH_COMPAT=3
+DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p')
+DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS)
+
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -83,6 +86,5 @@ arch-build:
baz inventory -s | xargs cp -a --parents --target=debian/arch-build/python-apt-$(DEBVER)
(cd debian/arch-build/python-apt-$(DEBVER); $(DEB_BUILD_PROG))
-
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary