]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/doxygen/regen.sh
Add support for wxAuiNotebook to XRC.
[wxWidgets.git] / docs / doxygen / regen.sh
index 0fb271912273e7613962b702aed0b3c62a76aa1c..64daea529b0d11aa44ba0c968ccd0bb0b2e102a4 100755 (executable)
@@ -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