forked from pool/xmlto
1ed60fd441
- Version bump to 0.0.26: - --searchpath option no longer produces warning about local builtin used outside the function (debian #652974) - fix build with automake 1.13+ - fix noextensions option recognition - handle used css list in epub format - Rename SUSE readme to xmlto-README.SUSE to fix capitalization - Rebase xmlto-xsltopts.patch to apply to latest release. OBS-URL: https://build.opensuse.org/request/show/236825 OBS-URL: https://build.opensuse.org/package/show/Publishing/xmlto?expand=0&rev=24
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
diff -urN xmlto-0.0.26.old/xmlto.in xmlto-0.0.26/xmlto.in
|
|
--- xmlto-0.0.26.old/xmlto.in 2014-06-11 10:16:55.661844817 +0200
|
|
+++ xmlto-0.0.26/xmlto.in 2014-06-11 10:18:02.362850985 +0200
|
|
@@ -39,6 +39,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
|
|
--noautosize do not autodetect paper size via locales or paperconf
|
|
--noclean temp files are not deleted automatically
|
|
@@ -283,7 +284,7 @@
|
|
|
|
# Process any options
|
|
ARGS=$(${GETOPT} \
|
|
- --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,noextensions,with-fop,with-dblatex \
|
|
+ --longoptions=help,version,extensions,searchpath:,skip-validation,stringparam:,noclean,noautosize,noextensions,with-fop,with-dblatex,xsltopts: \
|
|
-n xmlto -- x:m:o:p:v "$@")
|
|
[ $? != 0 ] && { usage; exit 1; }
|
|
eval set -- "$ARGS"
|
|
@@ -389,6 +390,10 @@
|
|
fi
|
|
shift
|
|
;;
|
|
+ --xsltopts)
|
|
+ XSLTOPTS="$XSLTOPTS $2"
|
|
+ shift 2
|
|
+ ;;
|
|
--)
|
|
shift
|
|
break
|