#!/bin/sh
#
# This script to create the documentation from the sgml sources is very
# specific to my system, so I don't expect it to work for you (unless by
# chance you have installed all the support files in the same places I
# have... doubtful since I did it a really f*cked up way.)
#                                                           -Matt Spong

export SGML_CATALOG_FILES=/usr/share/sgml/catalog:/usr/share/sgml/stylesheets/docbook/catalog:/usr/share/sgml/stylesheets/sgmltools/sgmltools.cat:/usr/share/sgml/dtd/jade/dsssl.cat
rm ../html/*.htm -f
jade -t sgml -d /usr/share/sgml/stylesheets/docbook/html/docbook.dsl -i html -o powershell.htm powershell.sgml 
mv *.htm ../html
