Bug #264 » 0003-Generate-Qt-help-file-if-enable-full-doc-is-specifie.patch
| Doxyfile.in | ||
|---|---|---|
|
# Qt's qhelpgenerator to generate a Qt Compressed Help (.qch) of the generated
|
||
|
# HTML documentation.
|
||
|
GENERATE_QHP = NO
|
||
|
GENERATE_QHP = @DOXYGEN_GENERATE_QHP@
|
||
|
# If the QHG_LOCATION tag is specified, the QCH_FILE tag can
|
||
|
# be used to specify the file name of the resulting .qch file.
|
||
| ... | ... | |
|
# Qt Help Project output. For more information please see
|
||
|
# http://doc.trolltech.com/qthelpproject.html#namespace
|
||
|
QHP_NAMESPACE =
|
||
|
QHP_NAMESPACE = @DOXYGEN_QHP_NAMESPACE@
|
||
|
# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating
|
||
|
# Qt Help Project output. For more information please see
|
||
| ... | ... | |
|
# If non-empty doxygen will try to run qhelpgenerator on the generated
|
||
|
# .qhp file.
|
||
|
QHG_LOCATION =
|
||
|
QHG_LOCATION = @DOXYGEN_QHG_LOCATION@
|
||
|
# The DISABLE_INDEX tag can be used to turn on/off the condensed index at
|
||
|
# top of each HTML page. The value NO (the default) enables the index and
|
||
| configure.ac | ||
|---|---|---|
|
enable_fulldoc="no")
|
||
|
if test "$enable_fulldoc" = "yes"; then
|
||
|
DOXYGEN_INPUT="listdoc.h src gui plugins tools"
|
||
|
DOXYGEN_DEFINE=""
|
||
|
DOXYGEN_INPUT="listdoc.h src gui plugins tools"
|
||
|
DOXYGEN_DEFINE=""
|
||
|
DOXYGEN_GENERATE_QHP="NO"
|
||
|
DOXYGEN_QHG_LOCATION=""
|
||
|
DOXYGEN_QHP_NAMESPACE=de.aquamaniac.gwenhywfar-$GWENHYWFAR_VERSION_STRING
|
||
|
if which qhelpgenerator >/dev/null ; then
|
||
|
DOXYGEN_QHG_LOCATION=$(which qhelpgenerator)
|
||
|
DOXYGEN_GENERATE_QHP="YES"
|
||
|
USE_DOT=NO
|
||
|
elif which qhelpgenerator-qt5 >/dev/null ; then
|
||
|
DOXYGEN_QHG_LOCATION=$(which qhelpgenerator-qt5)
|
||
|
DOXYGEN_GENERATE_QHP="YES"
|
||
|
USE_DOT=NO
|
||
|
fi
|
||
|
else
|
||
|
DOXYGEN_DEFINE="DOXYGEN_HIDE"
|
||
|
DOXYGEN_INPUT="listdoc.h gwenhywfar5"
|
||
|
DOXYGEN_DEFINE="DOXYGEN_HIDE"
|
||
|
DOXYGEN_INPUT="listdoc.h gwenhywfar5"
|
||
|
fi
|
||
|
AC_SUBST(DOXYGEN_GENERATE_QHP)
|
||
|
AC_SUBST(DOXYGEN_QHG_LOCATION)
|
||
|
AC_SUBST(DOXYGEN_QHP_NAMESPACE)
|
||
|
AC_SUBST(DOXYGEN_INPUT)
|
||
|
AC_SUBST(DOXYGEN_DEFINE)
|
||
|
AC_SUBST(USE_DOT)
|
||
|
AC_MSG_RESULT($enable_fulldoc)
|
||