1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 22:30:22 +00:00
mpv/DOCS/xml/gen-html.xsl.sh
nicolas 5b1bd41402 XML version of MPlayer's doc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9675 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-03-23 23:26:55 +00:00

28 lines
609 B
Bash

#
# 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