summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2013-04-10 11:42:03 +0100
committerP. F. Chimento <philip.chimento@gmail.com>2013-04-17 17:15:52 +0200
commit6347c78610a7197e1d0cedd1a4a2136a595b5a67 (patch)
tree5eb4b408c6858fcff0b26b17d278682fabcdcb33 /configure.ac
parent5049b8938f407629690c6682263187986fb5f2ba (diff)
Autogenerate documentation with Gtk-doc
Run './configure --enable-gtk-doc' to turn on building documentation, or use --disable-gtk-doc to disable it (for faster builds.) It builds as part of the regular 'make' invocation, though you can use 'make docs' to build only the documentation. [#1]
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ecf750e..b527bc8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -136,6 +136,8 @@ PKG_PROG_PKG_CONFIG
# Gettext
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.18.1])
+# Gtk-doc; 0.18 required for Markdown parsing
+GTK_DOC_CHECK([1.18], [--flavour no-tmpl])
# Required libraries
# ------------------
@@ -149,6 +151,8 @@ PKG_CHECK_MODULES([EOS_SDK], [
AC_CONFIG_FILES([
Makefile
po/Makefile.in
+ docs/reference/endless/Makefile
+ docs/reference/endless/version.xml
$EOS_SDK_API_NAME.pc
])
AC_CONFIG_HEADERS([config.h]) dnl Header with system-dependent #defines