summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/sssd.spec.in2
-rw-r--r--src/man/Makefile.am8
2 files changed, 6 insertions, 4 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 0fd8a203..7e95e43d 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -317,9 +317,9 @@ rm -rf $RPM_BUILD_ROOT
%if (0%{?enable_experimental} == 1)
%{_bindir}/sss_ssh_authorizedkeys
%{_bindir}/sss_ssh_knownhostsproxy
-%endif
%{_mandir}/man1/sss_ssh_authorizedkeys.1*
%{_mandir}/man1/sss_ssh_knownhostsproxy.1*
+%endif
%{_mandir}/man8/pam_sss.8*
%{_mandir}/man8/sssd_krb5_locator_plugin.8*
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