[med-svn] r899 - in trunk/packages/proda/trunk/debian: . patches
Charles Plessy
charles-debian-nospam at plessy.org
Sun Dec 23 21:52:52 UTC 2007
Le Sun, Dec 16, 2007 at 12:59:06AM +0000, hanska-guest at alioth.debian.org a écrit :
> Added:
> trunk/packages/proda/trunk/debian/proda.1.xml
Hi David !
The DocBook stylesheet can be documented in the manpage headers like in
the followign patch:
Index: debian/proda.1.xml
===================================================================
--- debian/proda.1.xml (révision 907)
+++ debian/proda.1.xml (copie de travail)
@@ -1,4 +1,6 @@
<?xml version='1.0' encoding='ISO-8859-1'?>
+<?xml-stylesheet type="text/xsl"
+ href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
Index: debian/rules
===================================================================
--- debian/rules (révision 907)
+++ debian/rules (copie de travail)
@@ -14,7 +14,6 @@
include /usr/share/quilt/quilt.make
XP=xsltproc -o debian/ -''-nonet
-DB2MAN=/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
build: patch build-stamp
build-stamp:
@@ -24,7 +23,7 @@
manpages: proda.1
proda.1: debian/proda.1.xml
- $(XP) $(DB2MAN) $<
+ $(XP) $<
clean: unpatch
dh_testdir
With this, xsltproc can be invoked directly in the debian directory without
arguments. Shall I commit this patch ?
Have a nice day,
--
Charles
More information about the debian-med-commit
mailing list