summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorNikolai Kondrashov <Nikolai.Kondrashov@redhat.com>2014-06-17 11:59:47 +0300
committerJakub Hrozek <jhrozek@redhat.com>2014-06-19 17:53:37 +0200
commit5377441d7a846461c2d9a7a870cea711360a529a (patch)
tree03b26c717287277172a63649997a3ace3c1b6910 /Makefile.am
parentc6e39e15178675d0779e0ae855245774a09b4eb5 (diff)
downloadsssd-5377441d7a846461c2d9a7a870cea711360a529a.tar.gz
sssd-5377441d7a846461c2d9a7a870cea711360a529a.tar.xz
sssd-5377441d7a846461c2d9a7a870cea711360a529a.zip
build: Augment systemdconfdir at configure stage
Add "/sssd.service.d" to systemdconfdir at configure stage, instead of the make stage. This way, if systemd is not used, systemdconfdir variable stays empty. That in turn, works around the attempt by older versions of Automake to create the installation directory even though no files are installed there [1]. This fixes installation and distcheck target on RHEL6, where an "/sssd.service.d" directory creation would otherwise be attempted. [1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11030 Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 91142b396..2dc4097bf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -58,7 +58,7 @@ pipepath = @pipepath@
mcpath = @mcpath@
initdir = @initdir@
systemdunitdir = @systemdunitdir@
-systemdconfdir = @systemdconfdir@/sssd.service.d
+systemdconfdir = @systemdconfdir@
logpath = @logpath@
pubconfpath = @pubconfpath@
pkgconfigdir = $(libdir)/pkgconfig