File: mkdoxy.sh

package info (click to toggle)
python3-antlr3 3.5.2-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,580 kB
  • sloc: python: 14,246; makefile: 32; sh: 13
file content (20 lines) | stat: -rwxr-xr-x 414 bytes parent folder | download | duplicates (2)
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