diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-06 17:01:53 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-06 17:03:34 +0200 |
commit | 22b1a0b6aec9651549e75469c4de43ea33c62f3a (patch) | |
tree | d290549e063b960aff7a8f6e2d64f664f4c00bfc /tools/update_luadoc.sh | |
parent | 165ae0863a84b9c8ed5da19daee0fe1197dbaea6 (diff) |
update lua doc to html generator
Diffstat (limited to 'tools/update_luadoc.sh')
-rwxr-xr-x | tools/update_luadoc.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/update_luadoc.sh b/tools/update_luadoc.sh new file mode 100755 index 0000000000..09482761fb --- /dev/null +++ b/tools/update_luadoc.sh @@ -0,0 +1,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 |