[gnome-online-accounts] build: Disable man pages by default



commit c6efa2d8fbfbf2ae1021b432bfdb19d638ecd5ca
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Jul 18 17:40:04 2018 +0200

    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.

 Makefile.am  | 6 +++++-
 configure.ac | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index fad86316..6359a077 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 32581afd..b19ed9b6 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])


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]