From 973ec467ceffeeead31689167df67945e72e7273 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 1 Sep 2016 11:26:48 -0700 Subject: [PATCH] build: Set --enable-man during distcheck If xsltproc is not installed, then ENABLE_MAN will be false and the generated man pages won't be distributed. Pass --enable-man to enforce that the man pages will be generated and distributed. Closes: #486 Approved by: cgwalters --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 495a5930..2911a0cf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,7 +29,11 @@ AM_CPPFLAGS += -DDATADIR='"$(datadir)"' -DLIBEXECDIR='"$(libexecdir)"' \ -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 \ -DSOUP_VERSION_MIN_REQUIRED=SOUP_VERSION_2_40 -DSOUP_VERSION_MAX_ALLOWED=SOUP_VERSION_2_48 AM_CFLAGS += -std=gnu99 $(WARN_CFLAGS) -AM_DISTCHECK_CONFIGURE_FLAGS += --enable-gtk-doc --disable-maintainer-mode +AM_DISTCHECK_CONFIGURE_FLAGS += \ + --enable-gtk-doc \ + --enable-man \ + --disable-maintainer-mode \ + $(NULL) GITIGNOREFILES = aclocal.m4 build-aux/ buildutil/*.m4 config.h.in gtk-doc.make