[gnome-bluetooth] build: Add --disable-documentation option
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] build: Add --disable-documentation option
- Date: Tue, 24 Jan 2012 17:16:06 +0000 (UTC)
commit 89ec3479c5e699b0e2c909b96d99a8f901af2bd1
Author: Colin Walters <walters verbum org>
Date: Wed Jan 18 22:06:58 2012 -0500
build: Add --disable-documentation option
This helps operating system builders.
https://bugzilla.gnome.org/show_bug.cgi?id=668589
Makefile.am | 9 ++++++++-
configure.ac | 5 +++++
2 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 9187597..64673bd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,13 @@
DEF_SUBDIRS = icons lib applet wizard sendto docs po help
-SUBDIRS = icons lib applet wizard sendto $(MOBLIN_DIR) docs po help
+SUBDIRS = icons lib applet wizard sendto docs po
+DIST_SUBDIRS =
+
+if ENABLE_DOCUMENTATION
+SUBDIRS += help
+else
+DIST_SUBDIRS += help
+endif
EXTRA_DIST = intltool-extract.in intltool-update.in intltool-merge.in ChangeLog.pre-2.27 gtk-doc.make gnome-doc-utils.make
diff --git a/configure.ac b/configure.ac
index 869e3ed..6f2b5be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,6 +146,11 @@ GNOME_COMPILE_WARNINGS([maximum])
GNOME_CXX_WARNINGS
GNOME_MAINTAINER_MODE_DEFINES
+AC_ARG_ENABLE([documentation],
+ AS_HELP_STRING([--enable-documentation], [enable man pages and HTML]),
+ [], [enable_documentation=yes])
+AM_CONDITIONAL(ENABLE_DOCUMENTATION, test x$enable_documentation = xyes)
+
GNOME_DOC_INIT
AC_OUTPUT(Makefile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]