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