[med-svn] [unanimity] 05/05: Build and install documentation for unanimity

Afif Elghraoui afif at moszumanska.debian.org
Fri Feb 3 08:06:56 UTC 2017


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

afif pushed a commit to branch master
in repository unanimity.

commit 2b4125784d69880ca944da119d3a11c667dfaa37
Author: Afif Elghraoui <afif at debian.org>
Date:   Thu Feb 2 23:31:29 2017 -0800

    Build and install documentation for unanimity
---
 debian/control |  1 +
 debian/docs    |  6 ++++++
 debian/rules   | 13 +++++++++++++
 3 files changed, 20 insertions(+)

diff --git a/debian/control b/debian/control
index 020efd0..97ae9d7 100644
--- a/debian/control
+++ b/debian/control
@@ -16,6 +16,7 @@ Build-Depends:
 	libpbbam-dev,
 	libpbcopper-dev,
 	libseqan2-dev,
+	pandoc,
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/unanimity.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/unanimity.git
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b0164cb
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,6 @@
+doc/PBCCS.html
+doc/JULIET.html
+doc/JULIETFLOW.html
+doc/FUSE.html
+doc/CLERIC.html
+doc/img
diff --git a/debian/rules b/debian/rules
index bbb7d1c..6e9d9dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,15 @@ export PYBUILD_NAME=consensuscore2
 # Don't let pybuild consider using cmake
 export PYBUILD_SYSTEM=distutils
 
+docs = $(addprefix doc/,\
+ CLERIC.html \
+ FUSE.html \
+ JULIETFLOW.html \
+ JULIET.html \
+ PBCCS.html \
+)
+
+build: $(docs)
 %:
 	dh $@ \
 	--package=unanimity \
@@ -55,3 +64,7 @@ override_dh_python2:
 override_dh_auto_clean:
 	dh_auto_clean
 	$(RM) config-main
+	$(RM) $(docs)
+
+%.html: %.md
+	pandoc --standalone --from markdown --to html $< -o $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/unanimity.git



More information about the debian-med-commit mailing list