summaryrefslogtreecommitdiff
path: root/modules/pam_echo
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2020-01-25 11:11:18 +0100
committerTomáš Mráz <t8m@users.noreply.github.com>2020-01-27 09:47:25 +0100
commit4dd9b97b762cc73816cb867d49c9d0d0b91d642c (patch)
tree421c9b1706032d77afba68741c5a756ac4b44286 /modules/pam_echo
parentdf86351adfbe6a5dc7a68dce1074403f97fd1046 (diff)
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 <fontaine.fabrice@gmail.com>
Diffstat (limited to 'modules/pam_echo')
-rw-r--r--modules/pam_echo/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/pam_echo/Makefile.am b/modules/pam_echo/Makefile.am
index 228758d6..792a8ea2 100644
--- a/modules/pam_echo/Makefile.am
+++ b/modules/pam_echo/Makefile.am
@@ -7,7 +7,9 @@ MAINTAINERCLEANFILES = $(MANS) README
EXTRA_DIST = README $(MANS) $(XMLS) tst-pam_echo
+if HAVE_DOC
man_MANS = pam_echo.8
+endif
XMLS = README.xml pam_echo.8.xml