summaryrefslogtreecommitdiff
blob: 5937d3f0a8e62602414a06f214235a001c02c89f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- a/login/Makefile.am
+++ b/login/Makefile.am
@@ -2,5 +2,5 @@
 ilogin_SOURCES = login.c
 ilogin_CFLAGS = -Wall
 
-install-data-hook:
-	chmod 500 $(sbindir)/ilogin
+install-exec-hook:
+	chmod 500 $(DESTDIR)$(sbindir)/ilogin
--- a/su/Makefile.am
+++ b/su/Makefile.am
@@ -4,5 +4,5 @@
 
 INCLUDES = -I../sud
 
-install-data-hook:
-	chmod 555 $(bindir)/suz
+install-exec-hook:
+	chmod 555 $(DESTDIR)$(bindir)/suz
--- a/sud/Makefile.am
+++ b/sud/Makefile.am
@@ -7,5 +7,5 @@
 #INCLUDES = -I..
 CLEANFILES = conf_lexer.c conf_parser.h conf_parser.c
 
-install-data-hook:
-	chmod 500 $(sbindir)/sud
+install-exec-hook:
+	chmod 500 $(DESTDIR)$(sbindir)/sud