view DOCS/xml/gen-html.xsl.sh @ 9727:695825b70485

100l to Gabu, this caused divide-by-zero with -vo mga. Apparently someone only tested -vo xmga. Feel free to reenable if you can fix the sigfpe properly.
author rfelker
date Sat, 29 Mar 2003 19:56:31 +0000
parents 461f71ba8af4
children
line wrap: on
line source

#
# Helper script to generate html.xsl.
#

if test $# -ne 1; then
	echo "Usage: $0 <path to chunk.xsl>"
	exit 1
fi

if test -f "$1"; then :; else
	echo "$0: file not found: \"$1\""
	exit 1
fi

cat << EOF
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ***************************************************
     This file is generated automatically.  DO NOT EDIT.
     *************************************************** -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">

  <xsl:import href="$1"/>
  <xsl:include href="html-common.xsl"/>

</xsl:stylesheet>
EOF