[med-svn] [python-htseq] 01/01: Actually update the rules file for the change log in 126d5a6

Diane Trout diane-guest at alioth.debian.org
Thu Sep 5 18:37:31 UTC 2013


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

diane-guest pushed a commit to branch master
in repository python-htseq.

commit 27a5bd9e61a7b7877e8a94c45773837976e00d3c
Author: Diane Trout <diane at ghic.org>
Date:   Thu Sep 5 11:37:11 2013 -0700

    Actually update the rules file for the change log in 126d5a6
---
 debian/rules |   23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index 84d91cd..9ef2d2f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,19 +19,30 @@ endif
 override_dh_auto_build:
 	make -C src
 	python setup.py build
+	# build the man pages for the binary package
+	python setup.py build_sphinx -b man
+
+override_dh_auto_install-indep:
+	# build the html pages for the -doc package
+	python setup.py build_sphinx -b html
 
 override_dh_installchangelogs:
 	dh_installchangelogs -k doc/history.rst
 
-override_dh_installdocs:
-	python setup.py build_sphinx -b html
-	python setup.py build_sphinx -b man
-	dh_installdocs
+override_dh_sphinxdoc-arch:
+	# dh_sphinxdoc doesn't fail silently when there are no docs
 
-clean:
+override_dh_auto_clean:
+	echo "clean run"
 	make -C src clean
 	rm -rf dist build MANIFEST
-	dh_clean
+	rm -rf *.egg-info
+	dh_auto_clean
+
+# need an explicit clean target to deal with the file named clean
+clean:
+	dh $@ --with python2,sphinxdoc
 
 .PHONY: clean
 
+

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/python-htseq.git



More information about the debian-med-commit mailing list