[gconf] build: Add --disable-documentation configure option
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gconf] build: Add --disable-documentation configure option
- Date: Sun, 15 Jan 2012 03:10:09 +0000 (UTC)
commit 8a9c168c8b9f58cfcfdb021e45fb5a16674a3969
Author: Colin Walters <walters verbum org>
Date: Sat Jan 14 22:08:48 2012 -0500
build: Add --disable-documentation configure option
Documentation is the source of many cyclical build loops. Allow
operating system builders to manually cut these cycles initially
by disabling documentation for a first pass.
configure.in | 5 +++++
gsettings/Makefile.am | 6 +++++-
2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 9dad036..93253a4 100644
--- a/configure.in
+++ b/configure.in
@@ -139,6 +139,11 @@ fi
GTK_DOC_CHECK([1.0])
+AC_ARG_ENABLE([documentation],
+ AS_HELP_STRING([--enable-documentation], [enable documentation generated via XSLT]),
+ [], [enable_documentation=yes])
+AM_CONDITIONAL(ENABLE_DOCUMENTATION, test x$enable_documentation = xyes)
+
AC_MSG_CHECKING([which gtk+ version to compile against])
AC_ARG_WITH([gtk],
[AS_HELP_STRING([--with-gtk=2.0|3.0],[which gtk+ version to compile against (default: 3.0)])],
diff --git a/gsettings/Makefile.am b/gsettings/Makefile.am
index 83eb74a..8bc9321 100644
--- a/gsettings/Makefile.am
+++ b/gsettings/Makefile.am
@@ -42,10 +42,14 @@ autostartdir = $(sysconfdir)/xdg/autostart
autostart_in_files = gsettings-data-convert.desktop.in
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
-man_MANS = \
+man_MANS =
+
+if ENABLE_DOCUMENTATION
+man_MANS += \
gsettings-schema-convert.1 \
gsettings-data-convert.1 \
$(NULL)
+endif
%.1 : %.xml
xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]