Valadoc: allow multiple BASEDIR.

This commit is contained in:
Kolan Sh 2015-12-21 16:15:30 +03:00
parent d4e233ae72
commit 11c998aca2
1 changed files with 2 additions and 1 deletions

View File

@ -20,9 +20,10 @@ VALA_PKGS=`grep -v '\.\.' "$PRJ_PATH"/valadoc_env | grep '^PKGS=[-+A-Za-z0-9. ]\
echo "Generating documentation..." echo "Generating documentation..."
rm -rf "$OUT_PATH" rm -rf "$OUT_PATH"
VALA_BASEDIR=`echo $VALA_BASEDIR | sed "s~\([^ $]\+\)~$PRJ_PATH/\1~g"`
echo VALA_BASEDIR=$VALA_BASEDIR echo VALA_BASEDIR=$VALA_BASEDIR
echo VALA_PKGS=$VALA_PKGS echo VALA_PKGS=$VALA_PKGS
valadoc --no-protected -o "$OUT_PATH" -b "$PRJ_PATH/$VALA_BASEDIR" `find "$PRJ_PATH/$VALA_BASEDIR" -name "*.vapi" -or -name "*.vala"` $VALA_PKGS valadoc --no-protected -o "$OUT_PATH" -b "$VALA_BASEDIR" `find $VALA_BASEDIR -name "*.vapi" -or -name "*.vala"` $VALA_PKGS
[ 0 == $? ] && $BROWSER "$OUT_PATH"/$PROJECT_LOWERCASE_NAME/index.htm &>/dev/null [ 0 == $? ] && $BROWSER "$OUT_PATH"/$PROJECT_LOWERCASE_NAME/index.htm &>/dev/null
#echo "Generating internal documentation..." #echo "Generating internal documentation..."