summaryrefslogtreecommitdiff
path: root/server/server.mk
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-01-23 09:48:07 -0500
committerSimo Sorce <idra@samba.org>2009-01-27 08:41:41 -0500
commit965bd60f9fae579184d3aa0c039775b37d67c27b (patch)
tree254e653b2948ca1117736a3eb475229d7d7b0e45 /server/server.mk
parentd9f203e045c63c853ae60b47fb8013e92600c9f9 (diff)
downloadsssd-965bd60f9fae579184d3aa0c039775b37d67c27b.tar.gz
sssd-965bd60f9fae579184d3aa0c039775b37d67c27b.tar.bz2
sssd-965bd60f9fae579184d3aa0c039775b37d67c27b.zip
Fixes to the makefile to get make install to work properly
Diffstat (limited to 'server/server.mk')
-rw-r--r--server/server.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/server.mk b/server/server.mk
index fd05c170..34ff0162 100644
--- a/server/server.mk
+++ b/server/server.mk
@@ -33,7 +33,9 @@ NSSSRV_OBJ = \
install:: all
${INSTALLCMD} -d $(DESTDIR)$(sbindir)
- ${INSTALLCMD} -m 755 sssd $(DESTDIR)$(sbindir)
+ ${INSTALLCMD} -m 700 sbin/sssd $(DESTDIR)$(sbindir)
+ ${INSTALLCMD} -d $(libexecdir)
+ ${INSTALLCMD} -m 700 $(LIBEXECBINS) $(libexecdir)
sbin/sssd: $(SERVER_OBJ) $(UTIL_OBJ)
$(CC) -o sbin/sssd $(SERVER_OBJ) $(UTIL_OBJ) $(LDFLAGS) $(LIBS)