[med-svn] [Git][med-team/fast5-research][master] Build sphinx documentation into static HTML and manpage

Shayan Doust gitlab at salsa.debian.org
Mon Jul 27 17:57:55 BST 2020



Shayan Doust pushed to branch master at Debian Med / fast5-research


Commits:
e89a03c8 by Shayan Doust at 2020-07-27T17:57:35+01:00
Build sphinx documentation into static HTML and manpage

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -9,7 +9,14 @@ include /usr/share/dpkg/default.mk
 # export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:
-	dh $@ --with python3 --buildsystem=pybuild
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build: export http_proxy=127.0.0.1:9
+override_dh_auto_build: export https_proxy=127.0.0.1:9
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html # HTML generator
+	PYTHONPATH=. python3 -m sphinx -N -bman docs/ build/man # Manpage generator
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))



View it on GitLab: https://salsa.debian.org/med-team/fast5-research/-/commit/e89a03c8faa4f1579c2fb361232a22064e26901d

-- 
View it on GitLab: https://salsa.debian.org/med-team/fast5-research/-/commit/e89a03c8faa4f1579c2fb361232a22064e26901d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200727/f4ffb831/attachment.html>


More information about the debian-med-commit mailing list