summaryrefslogtreecommitdiff
path: root/since/since-1.1-makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'since/since-1.1-makefile.patch')
-rw-r--r--since/since-1.1-makefile.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/since/since-1.1-makefile.patch b/since/since-1.1-makefile.patch
new file mode 100644
index 0000000..1afafc7
--- /dev/null
+++ b/since/since-1.1-makefile.patch
@@ -0,0 +1,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