[med-svn] [cwltool] 01/01: Introduced help2man-auto-generated man pages

Steffen Möller moeller at moszumanska.debian.org
Mon Feb 22 20:26:14 UTC 2016


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

moeller pushed a commit to branch master
in repository cwltool.

commit 2433c88012cf87e8244e8b8a4a52926d21df01b1
Author: Steffen Moeller <moeller at debian.org>
Date:   Mon Feb 22 21:24:09 2016 +0100

    Introduced help2man-auto-generated man pages
---
 debian/changelog        |  5 ++++-
 debian/control          |  3 ++-
 debian/cwltest.help2man |  8 ++++++++
 debian/cwltool.help2man |  8 ++++++++
 debian/manpages         |  2 ++
 debian/rules            | 12 ++++++++++++
 6 files changed, 36 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bb18210..8343388 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,4 +2,7 @@ cwltool (1.0.20160203221531-1) UNRELEASED; urgency=medium
 
   * Initial release. (Closes: #814000)
 
- -- Michael R. Crusoe <crusoe at ucdavis.edu>  Fri, 05 Feb 2016 02:18:38 -0800
+  [Steffen Moeller]
+  * Added help2man-generated man pages.
+
+ -- Michael R. Crusoe <crusoe at ucdavis.edu>  Mon, 22 Feb 2016 21:22:21 +0100
diff --git a/debian/control b/debian/control
index 158aaef..fbea75a 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,8 @@ Build-Depends: debhelper (>= 9),
                python-setuptools,
                python-rdflib-jsonld,
                python-schema-salad,
-               python-shellescape
+               python-shellescape,
+               help2man
 Standards-Version: 3.9.7
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/cwltool.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/cwltool.git
diff --git a/debian/cwltest.help2man b/debian/cwltest.help2man
new file mode 100644
index 0000000..d40183c
--- /dev/null
+++ b/debian/cwltest.help2man
@@ -0,0 +1,8 @@
+[NAME]
+cwltest - Compliance tests for cwltool
+
+[SEE ALSO]
+.br
+http://commonwl.org
+.br
+http://wiki.debian.org/CommonWorkflowLanguage
diff --git a/debian/cwltool.help2man b/debian/cwltool.help2man
new file mode 100644
index 0000000..fec4dd8
--- /dev/null
+++ b/debian/cwltool.help2man
@@ -0,0 +1,8 @@
+[NAME]
+cwltool - Refefence executor for Common Workflow Language
+
+[SEE ALSO]
+.br
+http://commonwl.org
+.br
+http://wiki.debian.org/CommonWorkflowLanguage
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..7e7a714
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1,2 @@
+debian/cwltool.1
+debian/cwltest.1
diff --git a/debian/rules b/debian/rules
index 9b479c5..802856a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,3 +21,15 @@ export PYBUILD_DISABLE=test
 %:
 	dh $@ --with python2 --buildsystem=pybuild
 
+debian/cwltool.1: debian/rules debian/cwltool.help2man
+	#help2man cwltool/main.py -I debian/cwltool.help2man -N -n "Reference executor for Common Workflow Language" -o debian/cwltool.1
+	help2man cwltool/main.py -I debian/cwltool.help2man -N -o debian/cwltool.1
+debian/cwltest.1: debian/rules debian/cwltest.help2man
+	help2man cwltool/cwltest.py -I debian/cwltest.help2man -N -o debian/cwltest.1 --version-string "$$(dpkg-parsechangelog  | grep Version:  | cut -f2 -d\ )"
+
+override_dh_installman: debian/cwltest.1 debian/cwltool.1
+	dh_installman
+
+override_dh_clean:
+	dh_clean
+	rm -f debian/cwltest.1 debian/cwltool.1

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



More information about the debian-med-commit mailing list