summaryrefslogtreecommitdiff
path: root/tools/update_luadoc.sh
blob: 09482761fba9c18f629f4f2c85d68e329783e4a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
## ardour needs to be configured with  --luadoc and build should be up-to date.

cd `dirname $0`
set -e
test -f ../libs/ardour/ardour/ardour.h
test -e ../gtk2_ardour/arluadoc
test -e ../build/gtk2_ardour/luadoc

# generate ../doc/luadoc.json.gz
../gtk2_ardour/arluadoc

# generate ../doc/ardourapi.json.gz
./doxy2json/ardourdoc.sh

php fmt-luadoc.php > /tmp/luadoc.html
# ^^ needs manual copy to ardour-manual
ls -l /tmp/luadoc.html