blob: 1afafc7ac936846017c9a84ecc15abf96ceb6ca7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff -r -u -N since-1.1/Makefile since-1.1-makefile/Makefile
--- since-1.1/Makefile 2010-07-10 14:57:32.000000000 +0200
+++ since-1.1-makefile/Makefile 2018-08-28 02:27:47.326549381 +0200
@@ -12,14 +12,14 @@
CC = gcc
RM = rm -f
-INSTALL = install -D
+INSTALL = install
$(NAME): $(NAME).c
$(CC) $(CFLAGS) -o $@ $^
install: $(NAME)
- $(INSTALL) $(NAME) $(prefix)/bin/$(NAME)
- $(INSTALL) $(NAME).1 $(prefix)/share/man/man1/$(NAME).1
+ $(INSTALL) -Dm755 $(NAME) $(prefix)/bin/$(NAME)
+ $(INSTALL) -Dm644 $(NAME).1 $(prefix)/share/man/man1/$(NAME).1
clean:
$(RM) $(NAME) core *.o
|