#!/bin/sh # # Creates the whole documentation # # Author: Markus Janich # if ! which doxytag; then if ! test -e html/index.html; then echo '*********************** WARNING *************************' echo '** No doxygen found - generating dummy html documentation' echo 'No doxygen was installed' > html/index.html else echo 'No documentation rebuild possible - using distributed one' fi exit 0 fi echo 'Deleting old documentation' rm -f html/*.html html/*.gif html/doxygen.css html/installdox echo 'Creating tagfile for Qt-2.1' if test -e $QTDIR/doc/html; then doxytag -t qt.tag $QTDIR/doc/html elif test -e /usr/share/doc/qt-doc/doc/html; then doxytag -t qt.tag /usr/share/doc/qt-doc/doc/html fi echo 'Now running doxygen' doxygen doxygen.conf || exit 1 echo 'Adjusting Qt links' cd html ./installdox -l qt.tag@http://doc.trolltech.com/ >/dev/null || exit 1 cd ..