mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
build: Cogl-2.0 API reference should be conditionally built
Building the API reference for Cogl 2.0 is fairly confusing: the API itself is experimental and for internal use only -- though we want feedback for it. Let's build the API reference only when Clutter is configured with a specific configure switch, so that people that wish to give feedback on the API and its documentation can do it.
This commit is contained in:
parent
8f60d5a3a2
commit
b55346151c
@ -1042,6 +1042,14 @@ AC_SUBST(CAIRO_PREFIX)
|
||||
AC_SUBST(GLIB_PREFIX)
|
||||
AC_SUBST(PANGO_PREFIX)
|
||||
|
||||
AC_ARG_ENABLE([cogl2-reference],
|
||||
[AC_HELP_STRING([--enable-cogl2-reference=@<:@no/yes@:>@],
|
||||
[Build Cogl-2.0 API Reference])],
|
||||
[enable_cogl2_reference=$enableval],
|
||||
[enable_cogl2_reference=no])
|
||||
|
||||
AM_CONDITIONAL([BUILD_COGL2_REFERENCE], [test "x$enable_gtk_doc" = "xyes" && test "x$enable_cogl2_reference" = "xyes"])
|
||||
|
||||
dnl === Manual ================================================================
|
||||
|
||||
AC_ARG_ENABLE([docs],
|
||||
|
@ -1 +1,7 @@
|
||||
SUBDIRS = cogl cogl-2.0 clutter cally
|
||||
SUBDIRS = cogl clutter cally
|
||||
|
||||
if BUILD_COGL2_REFERENCE
|
||||
SUBDIRS += cogl-2.0
|
||||
endif
|
||||
|
||||
DIST_SUBDIRS = cogl cogl-2.0 clutter cally
|
||||
|
Loading…
Reference in New Issue
Block a user