]> git.saurik.com Git - wxWidgets.git/commitdiff
Allow the doxygen command to be used to be specified in the environment
authorRobin Dunn <robin@alldunn.com>
Wed, 13 Jun 2012 23:20:08 +0000 (23:20 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 13 Jun 2012 23:20:08 +0000 (23:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/doxygen/regen.sh

index b29e1a522b13119cd60ec378d405419c7be0efc0..64daea529b0d11aa44ba0c968ccd0bb0b2e102a4 100755 (executable)
@@ -27,6 +27,10 @@ if [ "$WXWIDGETS" = "" ]; then
     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
 mkdir -p out/html/generic out/html/wxmsw out/html/wxgtk out/html/wxmac
@@ -57,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