]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/docs/bin/simplify
2 #----------------------------------------------------------------------
3 # Uses simplify.xsl to convert the XML files output by SWIG to a
4 # simpler XML format that contains only the metadata that we are
5 # interested in. Converts all input files into a single output file.
6 #----------------------------------------------------------------------
8 if [ ! -d wxPython
]; then
9 echo "Please run this script from the root wxPython directory."
14 XSLT
=docs
/bin
/simplify.xsl
15 MODULES
=`python -c "import sys,setup; [sys.stdout.write(e.name[1:]+' ') for e in setup.wxpExtensions]"`
16 DEST
=docs
/xml
/wxPython
-metadata.xml
21 echo "Writing to: " $DEST
22 echo "Modules: " $MODULES
26 echo "<?xml version='1.0'?>" > $DEST
27 echo "<wxPython-metadata>" >> $DEST
32 xsltproc
$XSLT $F >> $DEST
35 echo "</wxPython-metadata>" >> $DEST