From 06049cdf5a0d8caf5de18ae94f66a9015d85777a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 17 Mar 2020 15:22:41 +0100 Subject: pam_usertype: exclude man-page generation when configured with --disable-doc * modules/pam_usertype/Makefile.am (man_MANS): Make conditional on HAVE_DOC. Resolves: https://github.com/linux-pam/linux-pam/pull/193 --- modules/pam_usertype/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules/pam_usertype/Makefile.am') diff --git a/modules/pam_usertype/Makefile.am b/modules/pam_usertype/Makefile.am index 1646bc34..5e17df11 100644 --- a/modules/pam_usertype/Makefile.am +++ b/modules/pam_usertype/Makefile.am @@ -10,7 +10,9 @@ EXTRA_DIST = README ${MANS} ${XMLS} tst-pam_usertype TESTS = tst-pam_usertype -man_MANS = pam_usertype.8 +if HAVE_DOC + man_MANS = pam_usertype.8 +endif XMLS = README.xml pam_usertype.8.xml -- cgit v1.2.3