summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@gnome.org>2018-07-18 17:40:04 +0200
committerDebarshi Ray <debarshir@gnome.org>2018-07-18 18:11:05 +0200
commitc6efa2d8fbfbf2ae1021b432bfdb19d638ecd5ca (patch)
tree98677f07c5d947ed68f531753e3c47e074112794
parent152606cb7a38d3ed7b033e01729e4b64bb8d8d50 (diff)
downloadgnome-online-accounts-c6efa2d8fbfbf2ae1021b432bfdb19d638ecd5ca.tar.gz
build: Disable man pages by default
The gtk-doc HTML isn't installed by default, so it makes sense to not install the goa-daemon(8) man page either for consistency.
-rw-r--r--Makefile.am6
-rw-r--r--configure.ac2
2 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index fad8631..6359a07 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,7 +11,11 @@ SUBDIRS += po
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
-DISTCHECK_CONFIGURE_FLAGS=--enable-introspection --enable-gtk-doc
+DISTCHECK_CONFIGURE_FLAGS = \
+ --enable-documentation \
+ --enable-gtk-doc \
+ --enable-introspection \
+ $(NULL)
MAINTAINERCLEANFILES = \
$(GITIGNORE_MAINTAINERCLEANFILES_TOPLEVEL) \
diff --git a/configure.ac b/configure.ac
index 32581af..b19ed9b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,7 +74,7 @@ GLIB_GSETTINGS
AC_ARG_ENABLE([documentation],
AS_HELP_STRING([--enable-documentation], [enable man pages]),
- [], [enable_documentation=yes])
+ [], [enable_documentation=no])
AM_CONDITIONAL(ENABLE_DOCUMENTATION, test x$enable_documentation = xyes)
if test x$enable_documentation = xyes; then
AC_PATH_PROG([XSLTPROC], [xsltproc])