dc70fa12dc
Copy from Publishing/xmlto based on submit request 26966 from user keichwa OBS-URL: https://build.opensuse.org/request/show/26966 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xmlto?expand=0&rev=8
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
--- xmlto.in.orig 2009-09-21 14:41:17.000000000 +0200
|
|
+++ xmlto.in 2009-12-16 15:38:31.000000000 +0100
|
|
@@ -37,6 +37,7 @@
|
|
-o directory put output in the specified directory instead of
|
|
the current working directory
|
|
-p postprocopts pass option to postprocessor
|
|
+ --xsltopts use xsltproc command line options
|
|
--extensions turn on stylesheet extensions for this tool chain
|
|
--searchpath colon-separated list of fallback directories
|
|
--skip-validation
|
|
@@ -251,7 +252,7 @@
|
|
|
|
# Process any options
|
|
ARGS=$(${GETOPT} \
|
|
- --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex \
|
|
+ --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,with-fop,with-dblatex,xsltopts: \
|
|
-n xmlto -- x:m:o:p:v "$@")
|
|
[ $? != 0 ] && { usage; exit 1; }
|
|
eval set -- "$ARGS"
|
|
@@ -356,6 +357,10 @@
|
|
fi
|
|
shift
|
|
;;
|
|
+ --xsltopts)
|
|
+ XSLTOPTS="$XSLTOPTS $2"
|
|
+ shift 2
|
|
+ ;;
|
|
--)
|
|
shift
|
|
break
|