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_userdb/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/pam_userdb') diff --git a/modules/pam_userdb/Makefile.am b/modules/pam_userdb/Makefile.am index 32107e7c..d62fc54c 100644 --- a/modules/pam_userdb/Makefile.am +++ b/modules/pam_userdb/Makefile.am @@ -8,7 +8,9 @@ MAINTAINERCLEANFILES = $(MANS) README EXTRA_DIST = README $(XMLS) pam_userdb.8 create.pl tst-pam_userdb if HAVE_LIBDB +if HAVE_DOC man_MANS = pam_userdb.8 +endif TESTS = tst-pam_userdb endif -- cgit v1.2.3