From 4dd9b97b762cc73816cb867d49c9d0d0b91d642c Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 25 Jan 2020 11:11:18 +0100 Subject: configure.ac: add --enable-doc option Allow the user to disable documentation through --disable-doc (enabled by default), this is especially useful when cross-compiling for embedded targets Signed-off-by: Fabrice Fontaine --- modules/pam_namespace/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/pam_namespace') diff --git a/modules/pam_namespace/Makefile.am b/modules/pam_namespace/Makefile.am index d69ca088..0a290160 100644 --- a/modules/pam_namespace/Makefile.am +++ b/modules/pam_namespace/Makefile.am @@ -6,8 +6,10 @@ CLEANFILES = *~ MAINTAINERCLEANFILES = $(MAN5) $(MAN8) README +if HAVE_DOC MAN5 = namespace.conf.5 MAN8 = pam_namespace.8 +endif EXTRA_DIST = README namespace.conf namespace.init $(MAN5) $(MAN8) $(XMLS) tst-pam_namespace -- cgit v1.2.3