X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20004800cf34400fc5f4520c3f9c2eedc4235645..7447d53c35249d42128d6243c90998f03882859a:/docs/doxygen/regen.sh?ds=sidebyside diff --git a/docs/doxygen/regen.sh b/docs/doxygen/regen.sh index 0fb2719122..64daea529b 100755 --- a/docs/doxygen/regen.sh +++ b/docs/doxygen/regen.sh @@ -20,7 +20,16 @@ me=$(basename $0) path=${0%%/$me} # path from which the script has been launched current=$(pwd) cd $path -export WXWIDGETS=`cd ../.. && pwd` +if [ "$WXWIDGETS" = "" ]; then + export WXWIDGETS=`cd ../.. && pwd` + if [ "$OSTYPE" = "cygwin" ]; then + export WXWIDGETS=`cygpath -w $WXWIDGETS` + fi +fi + +if [ "$DOXYGEN" = "" ]; then + DOXYGEN=doxygen +fi # prepare folders for the cp commands below mkdir -p out/html # we need to copy files in this folder below @@ -52,7 +61,7 @@ fi # otherwise when generating the CHM file with Doxygen, those files are # not included! # -doxygen $cfgfile +$DOXYGEN $cfgfile if [[ "$1" = "qch" ]]; then # we need to add missing files to the .qhp