From 1b1cc575b66902fef7887ef3539ec3afc83011ff Mon Sep 17 00:00:00 2001 From: Jonathon Jongsma Date: Wed, 8 Feb 2006 00:55:17 +0000 Subject: 2006-02-07 Jonathon Jongsma * Makefile.am: add docs/ subdir * configure.in: added an --enable-docs switch to the configure script (enabled by default), and added AC_OUTPUT directives for the documentation Makefiles, etc. * docs/.cvsignore: * docs/Makefile.am: * docs/reference/.cvsignore: * docs/reference/Doxyfile.in: * docs/reference/Makefile.am: * docs/reference/introduction.h: Added infrastructure to build and install the API documentation for cairomm (based on libxml++ makefiles). --- configure.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 3ded40e..f32856b 100644 --- a/configure.in +++ b/configure.in @@ -94,10 +94,26 @@ PKG_CHECK_MODULES(CAIROMM, cairo >= 1.0) GLIBMM_CHECK_PERL([5.6.0]) + +AC_ARG_ENABLE(docs, [AC_HELP_STRING([--enable-docs], + [build the included docs [default=yes]])],, + [enable_docs=yes]) +if test "x$enable_docs" = "xyes"; then + DOCS_SUBDIR="docs" +else + DOCS_SUBDIR="" +fi +AC_SUBST(DOCS_SUBDIR) + + AC_OUTPUT( Makefile cairomm/Makefile + docs/Makefile + docs/reference/Makefile + docs/reference/Doxyfile + examples/Makefile examples/png_file/Makefile examples/pdf-surface/Makefile -- cgit v1.2.3