summaryrefslogtreecommitdiff
path: root/since/since-1.1-makefile.patch
diff options
context:
space:
mode:
authorDeposite Pirate2018-09-17 11:16:24 +0200
committerDeposite Pirate2018-09-17 11:16:24 +0200
commit878036fd265990ed7cbf399d256c4981e4cbc52a (patch)
tree4277ef1d189a9661e9d56004a5e7566f6fb2aa3a /since/since-1.1-makefile.patch
parentf590ac14a7da6f8c400dd5b5c0cfa91bb289c99d (diff)
Add since.
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