summaryrefslogtreecommitdiffstats
path: root/server/Makefile.am
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-10-21 14:55:20 +0200
committerStephen Gallagher <sgallagh@redhat.com>2009-12-07 10:18:53 -0500
commit88c0e85d55c8ad87480e6c10106e53adff887396 (patch)
treee97d5e0387ae5d85203fefb0b177ccd1085c00e4 /server/Makefile.am
parent518596b1bf8aab2ef1468309c41ee101a2c87bf3 (diff)
downloadsssd-88c0e85d55c8ad87480e6c10106e53adff887396.tar.gz
sssd-88c0e85d55c8ad87480e6c10106e53adff887396.tar.xz
sssd-88c0e85d55c8ad87480e6c10106e53adff887396.zip
Add basic OS detection
Detect if the OS is Fedora, RHEL or SUSE and install the SUSE start-script on SUSE systems.
Diffstat (limited to 'server/Makefile.am')
-rw-r--r--server/Makefile.am12
1 files changed, 10 insertions, 2 deletions
diff --git a/server/Makefile.am b/server/Makefile.am
index c43eb470b..8f36f72d0 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -113,6 +113,7 @@ pyexec_LTLIBRARIES = \
endif
dist_noinst_SCRIPTS = \
+ $(EXTRA_SCRIPTS) \
config/setup.py \
config/ipachangeconf.py \
config/SSSDConfig.py
@@ -750,8 +751,15 @@ SUFFIXES = .1.xml .1 .3.xml .3 .5.xml .5 .8.xml .8
# Installation Extras #
#######################
-dist_init_SCRIPTS = \
- sysv/sssd
+dist_init_SCRIPTS =
+if HAVE_SUSE
+ dist_init_SCRIPTS += \
+ sysv/SUSE/sssd
+else
+ dist_init_SCRIPTS += \
+ sysv/sssd
+endif
+
dist_sssdconf_DATA = \
config/etc/sssd.api.conf