From bcbd7f66cec3680b2580e20aaf31a9f4d2278a79 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 2 May 2012 01:18:50 +0200 Subject: Doxygen support * Doxyfile is generated by ./configure * files will be placed under doc/doxygen/. They aren't installed or distributed. --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a2cfed0..00c7174 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,10 @@ if [[ x$PKG_CONFIG = x ]]; then AC_MSG_ERROR([Couldn't find pkg-config]) fi +# FIXME: this should be configurable +AC_CHECK_PROG(DOXYGEN, doxygen, doxygen) +AM_CONDITIONAL(USE_DOXYGEN, test x$DOXYGEN != x) + # # Checks for libraries. # @@ -97,5 +101,7 @@ case $host in *-*-windows*) LIBS="$LIBS -Wl,--export-all-symbols" ;; esac -AC_CONFIG_FILES([Makefile src/Makefile]) +AC_CONFIG_FILES([Makefile \ + src/Makefile \ + doc/Makefile doc/Doxyfile]) AC_OUTPUT -- cgit v1.2.3