Blob Blame History Raw
From 2b1043d4e72b1dd33c0bee3b1af70e9de9192b9c Mon Sep 17 00:00:00 2001
From: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com>
Date: Wed, 30 Jul 2014 21:18:35 +0300
Subject: [PATCH 25/45] build: Don't install ad and ipa man pages unnecessarily
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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>
(cherry picked from commit 4b9c236008b35d2155b94635a236ce7770db4728)
---
 src/man/Makefile.am | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/man/Makefile.am b/src/man/Makefile.am
index 03caef2ee55689b82769e6b624e3dda619c50a93..546e0ade2b706f82458d778a3609dcc9fe59d58c 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
-- 
2.4.3