summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/Makefile.in4
-rw-r--r--server/server.mk6
2 files changed, 4 insertions, 6 deletions
diff --git a/server/Makefile.in b/server/Makefile.in
index 0206b372..1aae86fd 100644
--- a/server/Makefile.in
+++ b/server/Makefile.in
@@ -94,6 +94,10 @@ realdistclean:: distclean
rm -f configure config.h.in
install:: all installdirs installheaders installlibs installbin installsupport
+ ${INSTALLCMD} -d $(DESTDIR)$(sbindir)
+ ${INSTALLCMD} -m 700 sbin/sssd $(DESTDIR)$(sbindir)
+ ${INSTALLCMD} -d $(DESTDIR)$(SSSD_LIBEXEC_PATH)
+ ${INSTALLCMD} -m 700 $(LIBEXECBINS) $(DESTDIR)$(SSSD_LIBEXEC_PATH)
installdirs::
mkdir -p $(DESTDIR)$(includedir) $(DESTDIR)$(libdir) $(DESTDIR)$(sbindir) $(DBUS_SYSBUS_POLICY_DIR)
diff --git a/server/server.mk b/server/server.mk
index 58a49e59..893a4985 100644
--- a/server/server.mk
+++ b/server/server.mk
@@ -38,12 +38,6 @@ INFOPIPE_OBJ = \
POLKIT_OBJ = \
polkit/sssd_polkit.o
-install:: all
- ${INSTALLCMD} -d $(DESTDIR)$(sbindir)
- ${INSTALLCMD} -m 700 sbin/sssd $(DESTDIR)$(sbindir)
- ${INSTALLCMD} -d $(DESTDIR)$(SSSD_LIBEXEC_PATH)
- ${INSTALLCMD} -m 700 $(LIBEXECBINS) $(DESTDIR)$(SSSD_LIBEXEC_PATH)
-
sbin/sssd: $(SERVER_OBJ) $(UTIL_OBJ)
$(CC) -o sbin/sssd $(SERVER_OBJ) $(UTIL_OBJ) $(LDFLAGS) $(LIBS)