summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2009-01-28 08:35:24 -0500
committerSimo Sorce <idra@samba.org>2009-01-28 08:35:24 -0500
commitebd7edeba105768909aba02ceee922b3c6708581 (patch)
tree5df947516a352cbc7a481d986442b81fe8195705 /server
parentde38bb8f2f04dcefbbe4a998c9bd8532c844bcc0 (diff)
downloadsssd-ebd7edeba105768909aba02ceee922b3c6708581.tar.gz
sssd-ebd7edeba105768909aba02ceee922b3c6708581.tar.xz
sssd-ebd7edeba105768909aba02ceee922b3c6708581.zip
Move install directiuves into Makefile.in
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 0206b372f..1aae86fde 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 58a49e593..893a4985b 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)