[SCM] Debian packaging for the lrslib vertex enumeration package branch, master, updated. 08143926a8c76346ae9308746e390c53d21da63a

David Bremner bremner at unb.ca
Sun Sep 13 16:13:17 UTC 2009


The following commit has been merged in the master branch:
commit 13b40bd0142d35c67b8b0d1a98e2de9b856955fd
Author: David Bremner <bremner at unb.ca>
Date:   Sun Aug 9 20:02:24 2009 -0300

    add rule to generate man page from docbook xml

diff --git a/debian/rules b/debian/rules
index f7bd1a5..546b08b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,9 @@ SONAME=liblrs.so.0d
 SOMINOR=.0.0
 SHLIB=$(SONAME)$(SOMINOR)
 
+DOCBASEURL=http://cgm.cs.mcgill.ca/%7Eavis/C/lrslib/USERGUIDE.html
+DB2MAN=/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl
+XP=xsltproc --nonet
 
 override_dh_auto_build:
 	make -f debian/Makefile.debian SONAME=$(SONAME) SOMINOR=$(SOMINOR) SHLIB=$(SONAME)$(SOMINOR)
@@ -17,3 +20,6 @@ override_dh_auto_install:
 
 %: 
 	dh $@
+
+lrslib.1: debian/lrslib.1.xml
+	$(XP) --stringparam man.base.url.for.relative.links $(DOCBASEURL) -o $@ $(DB2MAN)  $<

-- 
Debian packaging for the lrslib vertex enumeration package



More information about the debian-science-commits mailing list