3ed2ca
diff -urNp docbook-utils-0.6.14-orig/backends/man.in docbook-utils-0.6.14/backends/man.in
3ed2ca
--- docbook-utils-0.6.14-orig/backends/man.in	2009-07-24 15:17:42.000000000 +0200
3ed2ca
+++ docbook-utils-0.6.14/backends/man.in	2009-07-24 15:20:57.000000000 +0200
3ed2ca
@@ -7,7 +7,7 @@ HELPER=$SGML_BASE_DIR/docbook/utils-@VER
3ed2ca
 TMPDIR=`mktemp -d /tmp/man.XXXXXX` || \
3ed2ca
  { echo >&2 "man backend: could not create secure temporary directory"; exit 1;}
3ed2ca
 trap 'rm -rf "${TMPDIR}"' EXIT
3ed2ca
-nsgmls "$SGML_FILE" > "${TMPDIR}/nsgmls.tmp"
3ed2ca
+nsgmls ${SGML_INCLUDE} "$SGML_FILE" > "${TMPDIR}/nsgmls.tmp"
3ed2ca
 sgmlspl $HELPER <"${TMPDIR}/nsgmls.tmp" 2>"${TMPDIR}/errs"
3ed2ca
 if [ $? -ne 0 ]
3ed2ca
 then
3ed2ca
diff -urNp docbook-utils-0.6.14-orig/bin/jw.in docbook-utils-0.6.14/bin/jw.in
3ed2ca
--- docbook-utils-0.6.14-orig/bin/jw.in	2009-07-24 15:17:42.000000000 +0200
3ed2ca
+++ docbook-utils-0.6.14/bin/jw.in	2009-07-24 15:18:51.000000000 +0200
3ed2ca
@@ -423,7 +423,7 @@ echo "Using catalogs: `echo $SGML_CATALO
3ed2ca
 echo "Using stylesheet: $SGML_STYLESHEET"
3ed2ca
 echo "Working on: $SGML_FILE"
3ed2ca
 cd "$SGML_OUTPUT_DIRECTORY"
3ed2ca
-export SGML_JADE SGML_FILE_NAME SGML_ARGUMENTS
3ed2ca
+export SGML_JADE SGML_FILE_NAME SGML_ARGUMENTS SGML_INCLUDE
3ed2ca
 export SGML_CATALOG_FILES SGML_BASE_DIR SGML_FILE SGML_STYLESHEET
3ed2ca
 NOCHUNKS=`echo $SGML_OPTIONS | grep nochunks`
3ed2ca
 if [ -z "$NOCHUNKS" ]