[Lunar-commits] r25180 - moonbase/trunk/doc-tools/doxygen

Dennis Veatch stumbles at lunar-linux.org
Thu Jul 19 16:59:47 CEST 2007


Author: stumbles
Date: 2007-07-19 16:59:47 +0200 (Thu, 19 Jul 2007)
New Revision: 25180

Modified:
   moonbase/trunk/doc-tools/doxygen/BUILD
Log:

This fixes borkage on a fresh install with doxygen.conf.



Modified: moonbase/trunk/doc-tools/doxygen/BUILD
===================================================================
--- moonbase/trunk/doc-tools/doxygen/BUILD	2007-07-19 14:28:59 UTC (rev 25179)
+++ moonbase/trunk/doc-tools/doxygen/BUILD	2007-07-19 14:59:47 UTC (rev 25180)
@@ -20,8 +20,13 @@
 
 # I have notice with some apps (dirac) comes to mind, make notice during make
 # the /usr/share/doc/apr/docs/doxygen.conf needs to be updated. This takes
-# care of that.
+# care of that and just in case it is not there on a fresh install.
 
-  doxygen -u /usr/share/doc/apr/docs/doxygen.conf
+  if [ -e /usr/share/doc/apr/docs/doxygen.conf ]; then
+    doxygen -u /usr/share/doc/apr/docs/doxygen.conf
+   else
+    mkdir -p /usr/share/doc/apr/docs
+    doxygen -s -g /usr/share/doc/apr/docs/doxygen.conf
+  fi
 
 ) > $C_FIFO 2>&1



More information about the Lunar-commits mailing list