summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>2014-07-30 21:18:35 +0300
committerJakub Hrozek <jhrozek@redhat.com>2014-08-10 18:29:12 +0200
commit4b9c236008b35d2155b94635a236ce7770db4728 (patch)
tree57bc0b43bd5459c721ec9c6c3f4418d94cab1721
parentfc8d98c9f0bb26de7be732c3e542b85c8abdba53 (diff)
downloadsssd-4b9c236008b35d2155b94635a236ce7770db4728.tar.gz
sssd-4b9c236008b35d2155b94635a236ce7770db4728.tar.xz
sssd-4b9c236008b35d2155b94635a236ce7770db4728.zip
build: Don't install ad and ipa man pages unnecessarily
Don't install sssd-ipa and sssd-ad man pages if corresponding providers weren't built (i.e. --without-samba was specified to configure). Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
-rw-r--r--src/man/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/man/Makefile.am b/src/man/Makefile.am
index 03caef2ee..546e0ade2 100644
--- a/src/man/Makefile.am
+++ b/src/man/Makefile.am
@@ -43,10 +43,14 @@ man_MANS = \
sss_useradd.8 sss_userdel.8 sss_usermod.8 \
sss_groupadd.8 sss_groupdel.8 sss_groupmod.8 \
sssd.8 sssd.conf.5 sssd-ldap.5 \
- sssd-krb5.5 sssd-ipa.5 sssd-simple.5 sssd-ad.5 \
+ sssd-krb5.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_seed.8
+if BUILD_SAMBA
+man_MANS += sssd-ipa.5 sssd-ad.5
+endif
+
if BUILD_SSH
man_MANS += sss_ssh_authorizedkeys.1 sss_ssh_knownhostsproxy.1
endif