[med-svn] r15966 - trunk/packages/discosnp/trunk/debian

Olivier Sallou osallou at moszumanska.debian.org
Sat Feb 1 17:51:18 UTC 2014


Author: osallou
Date: 2014-02-01 17:51:18 +0000 (Sat, 01 Feb 2014)
New Revision: 15966

Added:
   trunk/packages/discosnp/trunk/debian/discosnp.manpages
Modified:
   trunk/packages/discosnp/trunk/debian/changelog
   trunk/packages/discosnp/trunk/debian/rules
Log:
add auto generated man pages

Modified: trunk/packages/discosnp/trunk/debian/changelog
===================================================================
--- trunk/packages/discosnp/trunk/debian/changelog	2014-02-01 17:37:09 UTC (rev 15965)
+++ trunk/packages/discosnp/trunk/debian/changelog	2014-02-01 17:51:18 UTC (rev 15966)
@@ -1,6 +1,7 @@
 discosnp (1.0.1-2) unstable; urgency=low
 
   * Fix d/upstream refering to an other tool
+  * Add auto-generated man pages
 
  -- Olivier Sallou <osallou at debian.org>  Sat, 01 Feb 2014 14:17:16 +0100
 

Added: trunk/packages/discosnp/trunk/debian/discosnp.manpages
===================================================================
--- trunk/packages/discosnp/trunk/debian/discosnp.manpages	                        (rev 0)
+++ trunk/packages/discosnp/trunk/debian/discosnp.manpages	2014-02-01 17:51:18 UTC (rev 15966)
@@ -0,0 +1,2 @@
+kissnp2/kissnp2.1
+kissreads/kissreads.1

Modified: trunk/packages/discosnp/trunk/debian/rules
===================================================================
--- trunk/packages/discosnp/trunk/debian/rules	2014-02-01 17:37:09 UTC (rev 15965)
+++ trunk/packages/discosnp/trunk/debian/rules	2014-02-01 17:51:18 UTC (rev 15966)
@@ -3,6 +3,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+SRC_VERSION =$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
 
 %:
 	dh $@
@@ -18,6 +19,8 @@
 override_dh_install:
 	cp output_analyses/discoSnp_to_genotypes.py output_analyses/discoSnp_to_genotypes
 	cp output_analyses/discoSnp_to_csv.py output_analyses/discoSnp_to_csv
+	cd kissnp2 && help2man --help-option=-h  --version-string=$(SRC_VERSION) kissnp2  > kissnp2.1
+	cd kissreads && help2man --help-option=-h  --version-string=$(SRC_VERSION) kissreads > kissreads.1
 	dh_install
 
 override_dh_clean:
@@ -28,6 +31,8 @@
 	rm -f output_analyses/discoSnp_to_csv
 	rm -f kissnp2/kissnp2
 	rm -f kissreads/kissreads
+	rm -f kissreads/kissreads.1
+	rm -f kissnp2/kissnp2.1
 	dh_clean
 
 get-orig-source:




More information about the debian-med-commit mailing list