Package: flow-tools
Severity: wishlist
Tags: patch
Basically, if you modify any of the docbook SGML files in a local
dpatch, then building fails because jade is looking for docbook files in
/usr/local/sgml/
Here's the dpatch to fix this. (I did the Makefile.in changes by hand,
not by rerunning automake)
#! /bin/sh -e
## 04_docbook
## build system: Fix paths for jade rebuilding documentation.
if [ $# -lt 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) patch -f --no-backup-if-mismatch -p1 < $0;;
-unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
*)
echo >&2 \
"`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac
exit 0
@DPATCH@
--- flow-tools-0.67.orig/docs/Makefile.am
+++ flow-tools-0.67/docs/Makefile.am
@@ -19,10 +19,10 @@
docbook-to-man $*.sgml > $*.1.in
.sgml.html:
- jade -V nochunks -c /usr/local/share/sgml/docbook/dsssl/modular/catalog
-c /usr/local/share/sgml/docbook/catalog -c /usr/local/share/sgml/jade/catalog
-d /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl -t sgml $*.sgml
> $*.html
+ jade -V nochunks -c
/usr/share/sgml/docbook/stylesheet/dsssl/modular/catalog -c
/usr/share/sgml/jade/catalog -d
/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl -t sgml
$*.sgml > $*.html
.sgml.html.in:
- jade -V nochunks -c /usr/local/share/sgml/docbook/dsssl/modular/catalog
-c /usr/local/share/sgml/docbook/catalog -c /usr/local/share/sgml/jade/catalog
-d /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl -t sgml $*.sgml
> $*.html.in
+ jade -V nochunks -c
/usr/share/sgml/docbook/stylesheet/dsssl/modular/catalog -c
/usr/share/sgml/jade/catalog -d
/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl -t sgml
$*.sgml > $*.html.in
all-am: Makefile $(man_MANSIN) $(man_HTMLS)
--- flow-tools-0.67.orig/docs/Makefile.in
+++ flow-tools-0.67/docs/Makefile.in
@@ -374,10 +374,10 @@
docbook-to-man $*.sgml > $*.1.in
.sgml.html:
- jade -V nochunks -c /usr/local/share/sgml/docbook/dsssl/modular/catalog
-c /usr/local/share/sgml/docbook/catalog -c /usr/local/share/sgml/jade/catalog
-d /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl -t sgml $*.sgml
> $*.html
+ jade -V nochunks -c
/usr/share/sgml/docbook/stylesheet/dsssl/modular/catalog -c
/usr/share/sgml/jade/catalog -d
/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl -t sgml
$*.sgml > $*.html
.sgml.html.in:
- jade -V nochunks -c /usr/local/share/sgml/docbook/dsssl/modular/catalog
-c /usr/local/share/sgml/docbook/catalog -c /usr/local/share/sgml/jade/catalog
-d /usr/local/share/sgml/docbook/dsssl/modular/html/docbook.dsl -t sgml $*.sgml
> $*.html.in
+ jade -V nochunks -c
/usr/share/sgml/docbook/stylesheet/dsssl/modular/catalog -c
/usr/share/sgml/jade/catalog -d
/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl -t sgml
$*.sgml > $*.html.in
all-am: Makefile $(man_MANSIN) $(man_HTMLS)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]