[med-svn] [Git][med-team/emperor][master] Build and install the documentation
Liubov Chuprikova
gitlab at salsa.debian.org
Fri Jul 19 18:40:30 BST 2019
Liubov Chuprikova pushed to branch master at Debian Med / emperor
Commits:
338e2893 by Liubov Chuprikova at 2019-07-19T17:40:03Z
Build and install the documentation
- - - - -
3 changed files:
- + debian/python-emperor-doc.doc-base
- + debian/python-emperor-doc.docs
- debian/rules
Changes:
=====================================
debian/python-emperor-doc.doc-base
=====================================
@@ -0,0 +1,9 @@
+Document: python-emperor-doc
+Title: emperor: Python 2 and 3 Compatibility Library
+Author: Liubov Chuprikova
+Abstract:
+Section: Science/Biology
+
+Format: html
+Index: /usr/share/doc/python-emperor/html/index.html
+Files: /usr/share/doc/python-emperor/html/*
=====================================
debian/python-emperor-doc.docs
=====================================
@@ -0,0 +1 @@
+doc/build/html
=====================================
debian/rules
=====================================
@@ -5,10 +5,16 @@
export PYBUILD_NAME=emperor
+
export PYBUILD_AFTER_BUILD_python3=python{version} setup.py develop --install-dir {build_dir}; \
- cp -r {dir}/doc {build_dir}; cd {build_dir}/doc; make html
+ export PYTHONPATH={build_dir}:$(PYTHONPATH); \
+ $(MAKE) -C doc html
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_test:
+
+override_dh_auto_clean:
+ dh_auto_clean
+ cd $(CURDIR)/doc && make clean
View it on GitLab: https://salsa.debian.org/med-team/emperor/commit/338e28935b8d15d20316a55b6d8b14a80560b322
--
View it on GitLab: https://salsa.debian.org/med-team/emperor/commit/338e28935b8d15d20316a55b6d8b14a80560b322
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/20190719/6fd6ba68/attachment.html>
More information about the debian-med-commit
mailing list