summaryrefslogtreecommitdiff
path: root/packaging/xmlto-xsltopts.patch
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-06 21:13:37 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-06 21:13:37 -0800
commita093df46540ad509a7c649c702aad770f0cc1b52 (patch)
tree992ca102e0ed2ac452ed449b5c9d203507a34adc /packaging/xmlto-xsltopts.patch
parent406716225c95ba3ba5ab14b2ce93667225f0ad80 (diff)
downloadxmlto-a093df46540ad509a7c649c702aad770f0cc1b52.tar.gz
xmlto-a093df46540ad509a7c649c702aad770f0cc1b52.tar.bz2
xmlto-a093df46540ad509a7c649c702aad770f0cc1b52.zip
add packaging
Diffstat (limited to 'packaging/xmlto-xsltopts.patch')
-rw-r--r--packaging/xmlto-xsltopts.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/packaging/xmlto-xsltopts.patch b/packaging/xmlto-xsltopts.patch
new file mode 100644
index 0000000..8227e16
--- /dev/null
+++ b/packaging/xmlto-xsltopts.patch
@@ -0,0 +1,32 @@
+Index: xmlto.in
+===================================================================
+--- xmlto.in.orig
++++ xmlto.in
+@@ -38,6 +38,7 @@ OPTIONs are:
+ -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
+@@ -262,7 +263,7 @@ ZIP_PATH=@ZIP@
+
+ # 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"
+@@ -383,6 +384,10 @@ while [ "$#" -gt "0" ]; do
+ fi
+ shift
+ ;;
++ --xsltopts)
++ XSLTOPTS="$XSLTOPTS $2"
++ shift 2
++ ;;
+ --)
+ shift
+ break