Browse Source

Valadoc: allow multiple BASEDIR.

master
Kolan Sh 4 years ago
parent
commit
11c998aca2
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      valadoc.sh

+ 2
- 1
valadoc.sh View File

@@ -20,9 +20,10 @@ VALA_PKGS=`grep -v '\.\.' "$PRJ_PATH"/valadoc_env | grep '^PKGS=[-+A-Za-z0-9. ]\

echo "Generating documentation..."
rm -rf "$OUT_PATH"
VALA_BASEDIR=`echo $VALA_BASEDIR | sed "s~\([^ $]\+\)~$PRJ_PATH/\1~g"`
echo VALA_BASEDIR=$VALA_BASEDIR
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

#echo "Generating internal documentation..."


Loading…
Cancel
Save