diff options
author | Jan Cholasta <jcholast@redhat.com> | 2012-02-13 11:48:31 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-02-14 11:56:28 -0500 |
commit | 2ebb3cf3d7062860343c3db1b53173c9c6547038 (patch) | |
tree | ded13ad44f5e0bb41606756d9724775c820cbcc0 | |
parent | 3a0522759a7e71b40cc88dba0f5c545b049cf9bf (diff) | |
download | sssd-2ebb3cf3d7062860343c3db1b53173c9c6547038.tar.gz sssd-2ebb3cf3d7062860343c3db1b53173c9c6547038.tar.bz2 sssd-2ebb3cf3d7062860343c3db1b53173c9c6547038.zip |
SSH: Build man pages conditionally
https://fedorahosted.org/sssd/ticket/1175
-rw-r--r-- | contrib/sssd.spec.in | 2 | ||||
-rw-r--r-- | src/man/Makefile.am | 8 |
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 |