[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: quality/apidox/src
From: Allen Winter <winter () kde ! org>
Date: 2012-04-28 15:43:42
Message-ID: 20120428154342.B6C6FAC89C () svn ! kde ! org
[Download RAW message or body]
SVN commit 1292193 by winterz:
support new title option for doxygen.sh
fixups for making sure to use the kdelibs in $HOME
M +7 -19 gendox.sh
--- trunk/quality/apidox/src/gendox.sh #1292192:1292193
@@ -24,23 +24,14 @@
LOGPATH=/srv/logs/api/$VERSION
# SRCPATH: where the source code for this component resides
SRCPATH=$SRCPREFIX/$VERSION
-# LIBSPATH: where the source code for kdelibs resides (so we can find doxygen.sh)
-LIBSPATH=$HOME/
-# DOXDATAPATH: where the doxygen.sh data lives
-DOXDATAPATH=$LIBSPATH/kdelibs/doc/common
+# DOXYHOME: where the doxygen stuff livs
+DOXYHOME=$HOME/kdelibs/doc
+DOXYSH="$DOXYHOME/api/doxygen.sh"
+test -s "$DOXYSH" || { echo "*** NO DOXYGEN.SH" ; exit ; }
+DOXDATAPATH=$DOXYHOME/common
# Determine the modules we need to build the documentation of...
-case "$VERSION" in
- kde-3.5|kde-4.0|kde-4.1|kde-4.2|kde-4.3|kde-4.4|kde-4.5|kde-4.6|kde-4.7|kde-4.8|kde-4.x \
)
- SRCPATH=$SRCPREFIX/$VERSION
MODULES=`ls $SRCPATH`
- DOXDATAPATH=$SRCPREFIX/$VERSION/kdelibs/doc/common
- ;;
- * )
- SRCPATH=$SRCPREFIX/$VERSION
- MODULES=`ls $SRCPATH`
- ;;
-esac
# If argument given, use it as modules list to run
test -n "$1" && MODULES="$1"
@@ -73,16 +64,13 @@
# Make sure the sources for this module exist...
test -d "$SRCPATH/$i" || { echo "Skipping $SRCPATH/$i" ; continue ; }
- # Check for the documentation generation script....
- DOXARGS="$SRCPATH/$i"
- DOXYSH="$LIBSPATH/kdelibs/doc/api/doxygen.sh"
- test -s "$DOXYSH" || { echo "*** NO DOXYGEN.SH" ; continue ; }
-
# Build the documentation!
+ DOXARGS="$SRCPATH/$i"
$VERBOSE && echo QTDOCTAG="$QTDOCTAG" sh \""$DOXYSH"\" --installdir=$TEMPPATH \
--doxdatadir=$DOXDATAPATH --api-searchbox --no-cleanup --preprocess $DOXARGS sh \
"$DOXYSH" \
--installdir=$TEMPPATH \
--doxdatadir=$DOXDATAPATH \
+ --title="KDE $VERSION API Reference" \
--api-searchbox \
--no-cleanup \
--preprocess \
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic