diff options
author | Andre Heinecke <[email protected]> | 2016-04-11 16:10:54 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-04-11 16:10:54 +0000 |
commit | a1e95f36ce1895cd9894f6d3ca76640c42c2f9fc (patch) | |
tree | f4b45db655220133092211ebd465ed221b9b5f4e /configure.ac | |
parent | Qt: Fix unit test by adding initial.test dep (diff) | |
download | gpgme-a1e95f36ce1895cd9894f6d3ca76640c42c2f9fc.tar.gz gpgme-a1e95f36ce1895cd9894f6d3ca76640c42c2f9fc.zip |
Qt: Add doc generation with doxygen
* configure.ac: Look for doxygen if qt is built.
Configure new files.
* lang/qt/doc/Doxyfile.in: New.
* lang/qt/doc/Makefile.am: New.
* lang/qt/README: Update.
--
Currently this is a standard doxyfile template without much
customization.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b6b67ef3..bba32604 100644 --- a/configure.ac +++ b/configure.ac @@ -286,6 +286,14 @@ if test "$found" = "1"; then *** Qt5 (Qt5Core) is required for qt binding. ***]]) fi + + AC_CHECK_PROGS([DOXYGEN], [doxygen]) + if test -z "$DOXYGEN"; + then AC_MSG_WARN([Doxygen not found - Qt binding doc will not be built.]) + fi + AM_CONDITIONAL([HAVE_DOXYGEN], + [test -n "$DOXYGEN"]) + # Make sure that qt comes after cpp enabled_languages=`echo $enabled_languages | sed 's/qt//'` enabled_languages=`echo $enabled_languages qt` @@ -686,6 +694,8 @@ AC_CONFIG_FILES(lang/qt/src/QGpgmeConfig.cmake.in) AC_CONFIG_FILES(lang/qt/src/QGpgmeConfigVersion.cmake) AC_CONFIG_FILES(lang/qt/tests/Makefile) AC_CONFIG_FILES([lang/Makefile lang/cl/Makefile lang/cl/gpgme.asd]) +AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([lang/qt/doc/Doxyfile])]) +AC_CONFIG_FILES(lang/qt/doc/Makefile) AC_OUTPUT echo " |