[Pkg-emboss-commits] r76 - emboss/trunk/debian

charles-guest at alioth.debian.org charles-guest at alioth.debian.org
Mon Jul 16 11:23:33 UTC 2007


Author: charles-guest
Date: 2007-07-16 11:23:33 +0000 (Mon, 16 Jul 2007)
New Revision: 76

Modified:
   emboss/trunk/debian/acd2docbook.pl
   emboss/trunk/debian/rules
Log:
Fixes to manpage autogeneration (Thanks to Daniel Leidert)

Modified: emboss/trunk/debian/acd2docbook.pl
===================================================================
--- emboss/trunk/debian/acd2docbook.pl	2007-07-16 11:21:16 UTC (rev 75)
+++ emboss/trunk/debian/acd2docbook.pl	2007-07-16 11:23:33 UTC (rev 76)
@@ -39,7 +39,6 @@
   <!ENTITY dhemail     "pkg-emboss-devel\@lists.alioth.debian.org">
   <!ENTITY dhusername  "Debian EMBOSS Packaging Team">
   <!ENTITY dhrelease   "$embossversion">
-  <!ENTITY dhdate      "$date">
   <!ENTITY dhtitle     "EMBOSS Manual for Debian">
   <!ENTITY dhucpackage "$NAME">
   <!ENTITY dhpackage   "$name">
@@ -50,9 +49,8 @@
 <refentry>
 	<refentryinfo>
 		<title>&dhtitle;</title>
-		<productname>&dhpackage;</productname>
+		<productname>&dhproduct;</productname>
 		<releaseinfo role="version">&dhrelease;</releaseinfo>
-		<date>&dhdate;</date>
 		<authorgroup>
 			<author>
 				<othername>&dhusername;</othername>
@@ -104,7 +102,7 @@
 	</refsynopsisdiv>
 	<refsect1 id="description">
 		<title>DESCRIPTION</title>
-		<para><command>&dhpackage;</command> is a command line program from the EMBOSS software suite. It is part of the "$groups" command group(s). 
+		<para><command>&dhpackage;</command> is a command line program from EMBOSS (<quote>the European Molecular Biology Open Software Suite</quote>). It is part of the "$groups" command group(s). 
 		</para>
 	</refsect1>
 
@@ -162,7 +160,7 @@
 	<refsect1 id="bugs">
 		<!-- Or use this section to tell about upstream BTS. -->
 		<title>BUGS</title>
-		<para>Bugs can be reported to the Debian Bug Tracking system (http://bugs.debian.org/emboss), or directly to the EMBOSS developpers (http://sourceforge.net/tracker/?group_id=93650&amp;atid=605031).</para>
+		<para>Bugs can be reported to the Debian Bug Tracking system (http://bugs.debian.org/emboss), or directly to the EMBOSS developers (http://sourceforge.net/tracker/?group_id=93650&amp;atid=605031).</para>
 	</refsect1>
 
 	<refsect1 id="see_also">

Modified: emboss/trunk/debian/rules
===================================================================
--- emboss/trunk/debian/rules	2007-07-16 11:21:16 UTC (rev 75)
+++ emboss/trunk/debian/rules	2007-07-16 11:23:33 UTC (rev 76)
@@ -21,8 +21,12 @@
 
 manpages: manpages-stamp
 manpages-stamp:
-	rm debian/emboss.manpages
-	for acd in emboss/acd/*.acd ; do basename=$$(basename $$acd .acd) ; ./debian/acd2docbook.pl $$acd $(VERSION) > debian/manpages/$$basename.xml ; xsltproc -''-nonet -o debian/manpages/$$basename.1 debian/manpages/$$basename.xml ; echo "debian/manpages/$$basename.1" >> debian/emboss.manpages ; done
+	if [ -f debian/emboss.manpages ] ; then rm debian/emboss.manpages ; fi
+	for acd in $(shell ls emboss/acd/*acd | sed -r 's#.*/.*/(.+).acd#\1#'); \
+		do ./debian/acd2docbook.pl emboss/acd/$$acd.acd $(VERSION) > debian/manpages/$$acd.xml ;\
+		xsltproc --nonet --param man.charmap.use.subset 0 -o debian/manpages/ debian/manpages/$$acd.xml ;\
+		echo "debian/manpages/$$acd.1" >> debian/emboss.manpages ;\
+		done
 	touch manpages-stamp
 
 debian/copyright:




More information about the Pkg-emboss-commits mailing list