[med-svn] [salmon] 03/03: add manpages

Michael Crusoe misterc-guest at moszumanska.debian.org
Mon Sep 28 02:38:22 UTC 2015


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

misterc-guest pushed a commit to branch master
in repository salmon.

commit f714eb03b559da617d7b072dda7ebe419d3994a7
Author: Michael R. Crusoe <michael.crusoe at gmail.com>
Date:   Sun Sep 27 19:34:44 2015 -0700

    add manpages
---
 debian/control                  |  3 ++-
 debian/manpages                 |  4 ++++
 debian/rules                    | 15 +++++++++++----
 debian/salmon-index-man-include |  2 ++
 debian/salmon-quant-man-include |  2 ++
 debian/salmon-swim-man-include  |  2 ++
 6 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 601c57c..e9b58fa 100644
--- a/debian/control
+++ b/debian/control
@@ -23,7 +23,8 @@ Build-Depends: debhelper (>= 9),
                libtbb-dev,
                libgff-dev,
                libstaden-read-dev,
-               libspdlog-dev
+               libspdlog-dev,
+               help2man
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/<pkg>/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/<pkg>/trunk/
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..c065cc0
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1,4 @@
+debian/salmon.1
+debian/salmon-index.1
+debian/salmon-quant.1
+debian/salmon-swim.1
diff --git a/debian/rules b/debian/rules
index 1d11ebc..9cad250 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,8 @@
 
 # some helpful variables - uncomment them if needed
 # shamelessly stolen from http://jmtd.net/log/awk/
-#DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
-#VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
+DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
+VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
 #DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
 #DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
 #DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
@@ -18,5 +18,12 @@
 %:
 	dh $@
 
-#get-orig-source:
-#	. debian/get-orig-source
+override_dh_auto_build:
+	dh_auto_build
+	cd obj*/src && \
+	help2man --no-discard-stderr --no-info --name="highly-accurate, transcript-level quantification estimates from RNA-seq data"\
+		salmon > ../../debian/salmon.1 && \
+	for option in index quant swim; do help2man --no-discard-stderr \
+		--version-string="${VERSION}" --no-info "salmon --no-version-check $${option}" \
+		--include=../../debian/salmon-$${option}-man-include \
+		> ../../debian/salmon-$${option}.1; done
diff --git a/debian/salmon-index-man-include b/debian/salmon-index-man-include
new file mode 100644
index 0000000..6362580
--- /dev/null
+++ b/debian/salmon-index-man-include
@@ -0,0 +1,2 @@
+[NAME]
+salmon_index \- highly-accurate, transcript-level quantification estimates from RNA-seq data 
diff --git a/debian/salmon-quant-man-include b/debian/salmon-quant-man-include
new file mode 100644
index 0000000..8330353
--- /dev/null
+++ b/debian/salmon-quant-man-include
@@ -0,0 +1,2 @@
+[NAME]
+salmon_quant \- highly-accurate, transcript-level quantification estimates from RNA-seq data 
diff --git a/debian/salmon-swim-man-include b/debian/salmon-swim-man-include
new file mode 100644
index 0000000..f2fd8f7
--- /dev/null
+++ b/debian/salmon-swim-man-include
@@ -0,0 +1,2 @@
+[NAME]
+salmon_swim \- highly-accurate, transcript-level quantification estimates from RNA-seq data 

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



More information about the debian-med-commit mailing list