From 73433e9638523ae8248a5ce6d7b6e891c995b4b4 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 17 Jul 2008 12:21:01 +0000 Subject: [PATCH] 2008-07-17 Emmanuele Bassi Bug 1047 - API documentation from release tarball is not installed by "make install" * configure.ac: * Makefile.am: Make the recursion into the documentation directory depend on on whether we explicitly enable it or if we are not inside an SVN checkout. --- ChangeLog | 10 ++++++++++ Makefile.am | 2 +- configure.ac | 35 +++++++++++++++++++++++------------ 3 files changed, 34 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index e079a67bb..98e70c911 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2008-07-17 Emmanuele Bassi + + Bug 1047 - API documentation from release tarball is not + installed by "make install" + + * configure.ac: + * Makefile.am: Make the recursion into the documentation + directory depend on on whether we explicitly enable it or + if we are not inside an SVN checkout. + 2008-07-17 Neil Roberts * clutter/clutter-texture.c: diff --git a/Makefile.am b/Makefile.am index d9490f355..fb6b7fa5b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,7 @@ NULL = SUBDIRS = clutter tests po -if ENABLE_GTK_DOC +if BUILD_GTK_DOC SUBDIRS += doc endif diff --git a/configure.ac b/configure.ac index 052e87745..80a87b715 100644 --- a/configure.ac +++ b/configure.ac @@ -587,6 +587,17 @@ dnl = GTK Doc check ======================================================== GTK_DOC_CHECK([1.8]) +# we don't want to build the documentation from a SVN checkout unless we +# explicitly tell configure to do so; this allows avoiding to recurse into +# the documentation directory when building Clutter inside Poky for a +# target device that doesn't have gtk-doc installed. for reference +# see: http://bugzilla.openedhand.com/show_bug.cgi?id=1047 +# +# we use autogen.sh as it exists only inside the SVN checkouts, and it +# is not packaged into tarballs. +AM_CONDITIONAL([BUILD_GTK_DOC], + [test "x$enable_gtk_doc" = "xyes" || test ! -f "autogen.sh"]) + dnl = Manual =============================================================== AC_ARG_ENABLE(manual, @@ -668,22 +679,22 @@ AC_OUTPUT dnl ======================================================================== echo "" -echo " Clutter $VERSION" -echo " ===================" +echo " Clutter $VERSION" +echo " ====================" echo "" -echo " prefix: ${prefix}" +echo " prefix: ${prefix}" echo "" -echo " Flavour: ${clutterbackend}/${CLUTTER_COGL}" +echo " Flavour: ${clutterbackend}/${CLUTTER_COGL}" if test "x$clutterbackend" = "xeglx" || test "x$clutterbackend" = "xglx"; then - echo " XInput: ${xinput}" + echo " XInput: ${xinput}" fi -echo " GL Headers: ${CLUTTER_GL_HEADER}" -echo " Image backend: ${imagebackend}" -echo " Target library: ${clutterbackendlib}" -echo " Debug level: ${enable_debug}" -echo " Compiler flags: ${CPPFLAGS}" -echo " API Documentation: ${enable_gtk_doc}" -echo " Manual Documentation: ${enable_manual}" +echo " GL Headers: ${CLUTTER_GL_HEADER}" +echo " Image backend: ${imagebackend}" +echo " Target library: ${clutterbackendlib}" +echo " Debug level: ${enable_debug}" +echo " Compiler flags: ${CPPFLAGS}" +echo " Build API Documentation: ${enable_gtk_doc}" +echo " Build Manual Documentation: ${enable_manual}" echo ""