From 14ea2a04ebfa287e33b69a3bc7e47f02ba93c9ed Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Tue, 11 Mar 2014 16:04:28 +0000 Subject: Add API documentation support Add optional support for building API documentation using gtk-doc. Signed-off-by: Thomas Wood Signed-off-by: Daniel Vetter --- configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4aee793e..2c991a85 100644 --- a/configure.ac +++ b/configure.ac @@ -42,6 +42,14 @@ AC_PROG_CC AM_PROG_LEX AC_PROG_YACC +# check for gtk-doc +m4_ifdef([GTK_DOC_CHECK], [ +GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) +],[ +AM_CONDITIONAL([ENABLE_GTK_DOC], false) +]) + + # Checks for functions, headers, structures, etc. AC_HEADER_STDC AC_CHECK_HEADERS([termios.h]) @@ -192,6 +200,10 @@ AC_CONFIG_FILES([ Makefile benchmarks/Makefile demos/Makefile + docs/Makefile + docs/reference/Makefile + docs/reference/intel-gpu-tools/Makefile + docs/reference/intel-gpu-tools/version.xml lib/Makefile man/Makefile scripts/Makefile -- cgit v1.2.3