[med-svn] [khmer] 01/04: Build the docs

Michael Crusoe misterc-guest at moszumanska.debian.org
Sat Jan 31 14:16:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

misterc-guest pushed a commit to branch master
in repository khmer.

commit 1f43a4863d373d808dd8fd4af504605b43a9adde
Author: Michael R. Crusoe <mcrusoe at msu.edu>
Date:   Sat Jan 31 05:45:32 2015 -0500

    Build the docs
---
 debian/rules     | 11 ++++++++++-
 doc/Makefile.bak |  4 ----
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index ea3ffa2..79771fd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,16 @@
 export DH_VERBOSE=1
 export PYBUILD_NAME=khmer
 export PYBUILD_SYSTEM=distutils
-export PYBUILD_OPTION='--install-scripts=/usr/lib/khmer/bin'
+export PYBUILD_OPTION="--build-args '--install-scripts=/usr/lib/khmer/bin'"
 
 %:
 	dh $@ --with python2,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+	dh_auto_build
+	ln -s "`pwd`"/.pybuild/pythonX.Y_*/build/khmer/*.so khmer && \
+		./setup.py build_sphinx
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -f khmer/*.so
diff --git a/doc/Makefile.bak b/doc/Makefile.bak
deleted file mode 100644
index 955d223..0000000
--- a/doc/Makefile.bak
+++ /dev/null
@@ -1,4 +0,0 @@
-%.html : %.txt
-	rst2html.py $< $@
-
-all: README.html

-- 
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