summaryrefslogtreecommitdiff
path: root/modules/pam_usertype/Makefile.am
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-03-17 15:22:41 +0100
committerDmitry V. Levin <ldv@altlinux.org>2020-03-17 16:22:18 +0000
commit06049cdf5a0d8caf5de18ae94f66a9015d85777a (patch)
tree1368a647756f4aab4420dbc014918292ad446cec /modules/pam_usertype/Makefile.am
parent390b96d1ccce35b80f5870981a65b7790cba0494 (diff)
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
Diffstat (limited to 'modules/pam_usertype/Makefile.am')
-rw-r--r--modules/pam_usertype/Makefile.am4
1 files changed, 3 insertions, 1 deletions
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