From 8fff1f290a5d3f457b734721a7afc63d5f8b3205 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 14 Jan 2017 19:33:25 +0100 Subject: [PATCH] update path to lua-doc in manual --- tools/update_luadoc.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/update_luadoc.sh b/tools/update_luadoc.sh index 07001cab58..86dfb7381b 100755 --- a/tools/update_luadoc.sh +++ b/tools/update_luadoc.sh @@ -1,6 +1,8 @@ #!/bin/sh ## ardour needs to be configured with --luadoc and build should be up-to date. +AMANUAL=$HOME/src/ardour-manual + cd `dirname $0` DIR=`pwd` set -e @@ -16,10 +18,10 @@ fi # generate ../doc/luadoc.json.gz $DIR/../gtk2_ardour/arluadoc -if test -f $HOME/src/ardour-manual/_manual/24_lua-scripting/02_class_reference.html; then - php $DIR/fmt-luadoc.php -m > $HOME/src/ardour-manual/_manual/24_lua-scripting/02_class_reference.html - ls -l $HOME/src/ardour-manual/_manual/24_lua-scripting/02_class_reference.html - cd $HOME/src/ardour-manual/ +if test -f $AMANUAL/_manual/25_lua-scripting/02_class_reference.html; then + php $DIR/fmt-luadoc.php -m > $AMANUAL/_manual/25_lua-scripting/02_class_reference.html + ls -l $AMANUAL/_manual/25_lua-scripting/02_class_reference.html + cd $AMANUAL/ ./build.rb else php $DIR/fmt-luadoc.php > /tmp/luadoc.html