[med-svn] [khmer] 04/05: Use flags for new khmer makefile in d/rules
Kevin Murray
daube-guest at moszumanska.debian.org
Tue Jul 7 09:02:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
daube-guest pushed a commit to branch daube/libkhmerdev
in repository khmer.
commit 40edd96b15a65f06e2f67028fab2d20e7e5da9e3
Author: Kevin Murray <spam at kdmurray.id.au>
Date: Tue Jul 7 18:58:51 2015 +1000
Use flags for new khmer makefile in d/rules
---
debian/rules | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index aa54bb7..a850e5e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@ export DH_VERBOSE=1
export PYBUILD_NAME=khmer
export PYBUILD_SYSTEM=distutils
export PYBUILD_INSTALL_ARGS='--install-scripts=/usr/lib/khmer/bin'
+export USE_SYSTEM_ZLIB=true
+export USE_SYSTEM_LIBBZ2=true
# dh_python2 renames compiled extensions to include a multiarch triplet
# ex: _khmermodule.so -> _khmermodule.x86_64-linux-gnu.so
@@ -14,6 +16,8 @@ export PYBUILD_AFTER_INSTALL := \
mv {destdir}{install_dir}/khmer/_khmermodule.so \
{destdir}{install_dir}/khmer/_khmer.so
+export PACKAGE_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
+
%:
dh $@ --with python2,sphinxdoc --buildsystem=pybuild --parallel
@@ -23,7 +27,7 @@ override_dh_auto_build:
./setup.py build_sphinx
ronn -r --manual=khmer --organization='Michigan State University' \
debian/khmer.1.ronn
- make clean lib
+ cd lib && $(MAKE) clean all
override_dh_auto_test:
PYBUILD_SYSTEM=custom \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/khmer.git
More information about the debian-med-commit
mailing list