summaryrefslogtreecommitdiffstats
path: root/src/man
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2012-02-13 11:48:31 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-02-14 11:56:28 -0500
commit2ebb3cf3d7062860343c3db1b53173c9c6547038 (patch)
treeded13ad44f5e0bb41606756d9724775c820cbcc0 /src/man
parent3a0522759a7e71b40cc88dba0f5c545b049cf9bf (diff)
downloadsssd-2ebb3cf3d7062860343c3db1b53173c9c6547038.tar.gz
sssd-2ebb3cf3d7062860343c3db1b53173c9c6547038.tar.xz
sssd-2ebb3cf3d7062860343c3db1b53173c9c6547038.zip
SSH: Build man pages conditionally
https://fedorahosted.org/sssd/ticket/1175
Diffstat (limited to 'src/man')
-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 c0c2281e7..b84f66bb0 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