[med-svn] r6566 - trunk/packages/cdbfasta/trunk/debian

Andreas Tille tille at alioth.debian.org
Thu Apr 14 20:21:27 UTC 2011


Author: tille
Date: 2011-04-14 20:21:17 +0000 (Thu, 14 Apr 2011)
New Revision: 6566

Modified:
   trunk/packages/cdbfasta/trunk/debian/dirs
   trunk/packages/cdbfasta/trunk/debian/rules
Log:
Use just builded binaries as input for html2man instead of randomly installed programs on local machine; Redirect output in final manpage location to not beeing forced to clean up build directory afterwards


Modified: trunk/packages/cdbfasta/trunk/debian/dirs
===================================================================
--- trunk/packages/cdbfasta/trunk/debian/dirs	2011-04-14 20:08:43 UTC (rev 6565)
+++ trunk/packages/cdbfasta/trunk/debian/dirs	2011-04-14 20:21:17 UTC (rev 6566)
@@ -1 +1,2 @@
-/usr/bin
+usr/bin
+usr/share/man/man1

Modified: trunk/packages/cdbfasta/trunk/debian/rules
===================================================================
--- trunk/packages/cdbfasta/trunk/debian/rules	2011-04-14 20:08:43 UTC (rev 6565)
+++ trunk/packages/cdbfasta/trunk/debian/rules	2011-04-14 20:21:17 UTC (rev 6566)
@@ -10,12 +10,11 @@
 	dh $@ 
 
 override_dh_installman:
-	help2man --no-info --no-discard-stderr --version-option=-v cdbfasta |\
+	help2man --no-info --no-discard-stderr --version-option=-v $(CURDIR)/debian/`dh_listpackages`/usr/bin/cdbfasta |\
 	    sed 's/^Invalid argument:.*//' |\
 	    sed 's/manual page for cdbfasta version .*/Creates an index file for records from a multi-fasta file./' \
-	    > cdbfasta.1
-	help2man --no-info --no-discard-stderr --version-option=-v cdbyank |\
+	    > $(CURDIR)/debian/`dh_listpackages`/usr/share/man/man1/cdbfasta.1
+	help2man --no-info --no-discard-stderr --version-option=-v $(CURDIR)/debian/`dh_listpackages`/usr/bin/cdbyank |\
 	    sed 's/^Invalid argument:.*//' |\
 	    sed 's/manual page for cdbyank version .*/Query an index file created with cdbfasta./' \
-	    > cdbyank.1
-	dh_installman cdbfasta.1 cdbyank.1
+	    > $(CURDIR)/debian/`dh_listpackages`/usr/share/man/man1/cdbyank.1




More information about the debian-med-commit mailing list