[Lunar-commits] <moonbase> doxygen: Fleshing out the DEPENDS and a general clean up of the BUILD.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sun Jan 1 11:23:24 CET 2012


commit 561ddb2e1afea81a1ecfdfc4a69550a96f66cefa
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sun Jan 1 05:23:24 2012 -0500

    doxygen: Fleshing out the DEPENDS and a general clean up of the BUILD.
---
 doc-tools/doxygen/BUILD   |   28 ++--------------------------
 doc-tools/doxygen/DEPENDS |    3 +++
 2 files changed, 5 insertions(+), 26 deletions(-)

diff --git a/doc-tools/doxygen/BUILD b/doc-tools/doxygen/BUILD
index ad2f995..e6431c1 100644
--- a/doc-tools/doxygen/BUILD
+++ b/doc-tools/doxygen/BUILD
@@ -7,33 +7,9 @@
       patch_it $SOURCE_CACHE/$SOURCE2 1
   fi  &&
 
-  OPTS+=" --prefix /usr "  &&
-
-  if [ -f src/Makefile ]; then
-    message "${MESSAGE_COLOR}Makefile's detected, doing make distclean before compiling${DEFAULT_COLOR}"  &&
-    ./configure $OPTS
-    make distclean
-  fi  &&
+  OPTS+=" --prefix /usr"  &&
 
   ./configure $OPTS  &&
-
-  make  &&
-  prepare_install  &&
-  if which python 2> /dev/null 1>&2; then
-     make docs
-  fi  &&
-  make install  &&
-
-# I have notice with some apps notice during make
-# the /usr/share/doc/apr/docs/doxygen.conf needs to be updated. This takes
-# care of that and just in case it is not there on a fresh install.
-
-  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
-    doxygen -u /usr/share/doc/apr/docs/doxygen.conf
-  fi
+  default_make 
 
 ) > $C_FIFO 2>&1
diff --git a/doc-tools/doxygen/DEPENDS b/doc-tools/doxygen/DEPENDS
index b5dbcbf..bfff8e6 100644
--- a/doc-tools/doxygen/DEPENDS
+++ b/doc-tools/doxygen/DEPENDS
@@ -1,7 +1,10 @@
+depends  bison
 depends  sed
+depends  flex
 depends  ghostscript
 depends  texlive
 
+optional_depends "perl"     ""  ""  "Buile perl interpreter support"
 optional_depends "qt4"      ""  ""  "Qt 4.x GUI support"
 optional_depends "Python"   ""  ""  "Build the doc files"
 optional_depends "graphviz" ""  ""  "Dot support"


More information about the Lunar-commits mailing list