summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/man/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/man/Makefile.am b/src/man/Makefile.am
index c0c2281e..b84f66bb 100644
--- a/src/man/Makefile.am
+++ b/src/man/Makefile.am
@@ -38,8 +38,10 @@ man_MANS = \
sssd.8 sssd.conf.5 sssd-ldap.5 \
sssd-krb5.5 sssd-ipa.5 sssd-simple.5 \
sssd_krb5_locator_plugin.8 sss_groupshow.8 \
- pam_sss.8 sss_obfuscate.8 sss_cache.8 sss_debuglevel.8 \
- sss_ssh_authorizedkeys.1 sss_ssh_knownhostsproxy.1
+ pam_sss.8 sss_obfuscate.8 sss_cache.8 sss_debuglevel.8
+if BUILD_SSH
+ man_MANS += sss_ssh_authorizedkeys.1 sss_ssh_knownhostsproxy.1
+endif
EXTRA_DIST = $(man_MANS:%=%.xml) $(wildcard $(srcdir)/include/*.xml)
SUFFIXES = .1.xml .1 .3.xml .3 .5.xml .5 .8.xml .8
@@ -90,7 +92,7 @@ EXTRA_DIST += \
$(POTFILE)\
$(PO4A_CONFIG)
-XML_DOC = $(wildcard $(srcdir)/*.xml) $(wildcard $(srcdir)/include/*.xml)
+XML_DOC = $(man_MANS:%=$(srcdir)/%.xml) $(wildcard $(srcdir)/include/*.xml)
if HAVE_PO4A