Home | History | Annotate | Download | only in Python
      1 #!/bin/bash
      2 
      3 if [ -e doxygen.sh ]; then
      4     . doxygen.sh
      5 fi
      6 
      7 rm -fr build/doc
      8 mkdir -p build/doc/antlr3
      9 
     10 for f in __init__ exceptions constants dfa tokens streams recognizers; do
     11     sed -e '/begin\[licence\]/,/end\[licence\]/d' antlr3/$f.py \
     12       >>build/doc/antlr3.py
     13 done
     14 
     15 touch build/doc/antlr3/__init__.py
     16 
     17 cp -f antlr3/tree.py build/doc/antlr3
     18 cp -f antlr3/treewizard.py build/doc/antlr3
     19 
     20 doxygen doxyfile
     21