aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
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 /Makefile.am
parentdf86351adfbe6a5dc7a68dce1074403f97fd1046 (diff)
downloadpam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c.tar.gz
pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c.tar.bz2
pam-4dd9b97b762cc73816cb867d49c9d0d0b91d642c.zip
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 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 40b300da..ddcdd124 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,11 @@
AUTOMAKE_OPTIONS = 1.9 gnu dist-bzip2 dist-xz check-news
-SUBDIRS = libpam tests libpamc libpam_misc modules po conf doc examples xtests
+SUBDIRS = libpam tests libpamc libpam_misc modules po conf examples xtests
+
+if HAVE_DOC
+SUBDIRS += doc
+endif
CLEANFILES = *~