Valadoc: allow multiple BASEDIR.
This commit is contained in:
parent
d4e233ae72
commit
11c998aca2
|
@ -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..."
|
||||||
|
|
Loading…
Reference in New Issue