diff options
| author | Sam Varshavchik | 2015-06-20 08:59:16 -0400 | 
|---|---|---|
| committer | Sam Varshavchik | 2015-06-20 08:59:16 -0400 | 
| commit | 7d29d9d57b815c6d40d7c3ff2238f7ddea2b1906 (patch) | |
| tree | 262ccdd489758e0b47336f537f8585adb500eb0b | |
| parent | 106596a150c4585c41d65f60a17e173402125332 (diff) | |
| download | courier-libs-7d29d9d57b815c6d40d7c3ff2238f7ddea2b1906.tar.bz2 | |
Forward custom options to stylesheet.
| -rwxr-xr-x | docbook/sgml2html | 3 | ||||
| -rwxr-xr-x | docbook/sgml2man | 3 | 
2 files changed, 4 insertions, 2 deletions
| diff --git a/docbook/sgml2html b/docbook/sgml2html index 6040700..e44443e 100755 --- a/docbook/sgml2html +++ b/docbook/sgml2html @@ -5,6 +5,7 @@  srcfile="$1"  dstfile="$2" +options="$3"  if test ! -f $srcfile  then @@ -14,7 +15,7 @@ fi  rm -rf $dstfile.tmp  mkdir $dstfile.tmp -xsltproc -o $dstfile.tmp/ `dirname $0`/manpages.xsl $srcfile || exit 1 +xsltproc --nonet -o $dstfile.tmp/ $options `dirname $0`/manpages.xsl $srcfile || exit 1  xsltproc `dirname $0`/fixhtml.xsl $dstfile.tmp/* >$dstfile.tmp2 || exit 1  rm -rf $dstfile.tmp  mv $dstfile.tmp2 $dstfile || exit 1 diff --git a/docbook/sgml2man b/docbook/sgml2man index a4bd7bf..543aab0 100755 --- a/docbook/sgml2man +++ b/docbook/sgml2man @@ -5,6 +5,7 @@  srcfile="$1"  dstfile="$2" +options="$3"  if test ! -f $srcfile  then @@ -14,7 +15,7 @@ fi  rm -rf $dstfile.tmpdir  mkdir -p $dstfile.tmpdir -xsltproc --nonet -o $dstfile.tmpdir/ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $srcfile +xsltproc --nonet -o $dstfile.tmpdir/ $options http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $srcfile  for f in $dstfile.tmpdir/*  do | 
