2008-07-17 Emmanuele Bassi <ebassi@openedhand.com>

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.
This commit is contained in:
Emmanuele Bassi 2008-07-17 12:21:01 +00:00
parent bcfaacad5c
commit 73433e9638
3 changed files with 34 additions and 13 deletions

View File

@ -1,3 +1,13 @@
2008-07-17 Emmanuele Bassi <ebassi@openedhand.com>
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 <neil@o-hand.com> 2008-07-17 Neil Roberts <neil@o-hand.com>
* clutter/clutter-texture.c: * clutter/clutter-texture.c:

View File

@ -2,7 +2,7 @@ NULL =
SUBDIRS = clutter tests po SUBDIRS = clutter tests po
if ENABLE_GTK_DOC if BUILD_GTK_DOC
SUBDIRS += doc SUBDIRS += doc
endif endif

View File

@ -587,6 +587,17 @@ dnl = GTK Doc check ========================================================
GTK_DOC_CHECK([1.8]) 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 =============================================================== dnl = Manual ===============================================================
AC_ARG_ENABLE(manual, AC_ARG_ENABLE(manual,
@ -669,7 +680,7 @@ dnl ========================================================================
echo "" echo ""
echo " Clutter $VERSION" echo " Clutter $VERSION"
echo " ===================" echo " ===================="
echo "" echo ""
echo " prefix: ${prefix}" echo " prefix: ${prefix}"
echo "" echo ""
@ -682,8 +693,8 @@ echo " Image backend: ${imagebackend}"
echo " Target library: ${clutterbackendlib}" echo " Target library: ${clutterbackendlib}"
echo " Debug level: ${enable_debug}" echo " Debug level: ${enable_debug}"
echo " Compiler flags: ${CPPFLAGS}" echo " Compiler flags: ${CPPFLAGS}"
echo " API Documentation: ${enable_gtk_doc}" echo " Build API Documentation: ${enable_gtk_doc}"
echo " Manual Documentation: ${enable_manual}" echo " Build Manual Documentation: ${enable_manual}"
echo "" echo ""