Commit 7764799e authored by Colin Walters's avatar Colin Walters

build: Add --disable-documentation

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.

https://bugzilla.gnome.org/show_bug.cgi?id=675087
parent 67d91afb
......@@ -4,12 +4,14 @@ SUBDIRS = \
data \
common \
daemon \
docs \
gui \
utils \
po \
tests \
$(NULL)
if ENABLE_DOCUMENTATION
SUBDIRS += docs
endif
# add these when help gets added back
# omf-install
......@@ -27,6 +29,6 @@ DISTCLEANFILES = \
gnome-doc-utils.make \
$(NULL)
DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper --enable-split-authentication --enable-introspection
DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper --enable-split-authentication --enable-introspection --enable-documentation
distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper'
......@@ -44,6 +44,10 @@ AC_CONFIG_MACRO_DIR([m4])
IT_PROG_INTLTOOL([0.40.0])
GNOME_DOC_INIT
AC_ARG_ENABLE([documentation],
AS_HELP_STRING([--enable-documentation], [enable man pages and HTML documentation]),
[], [enable_documentation=yes])
AM_CONDITIONAL(ENABLE_DOCUMENTATION, test x$enable_documentation = xyes)
GETTEXT_PACKAGE=gdm
AC_SUBST(GETTEXT_PACKAGE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment