diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-05-02 01:18:50 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-05-02 01:18:50 +0200 |
commit | bcbd7f66cec3680b2580e20aaf31a9f4d2278a79 (patch) | |
tree | 19438ffa46fb9d1fc12bb4d4340b58ac92ba8db3 /configure.ac | |
parent | 21697de160671602b3feb84f8da0b11dfb326a3a (diff) | |
download | experiment-player-bcbd7f66cec3680b2580e20aaf31a9f4d2278a79.tar.gz |
Doxygen support
* Doxyfile is generated by ./configure
* files will be placed under doc/doxygen/. They aren't installed or distributed.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 7 insertions, 1 deletions
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 |