summaryrefslogtreecommitdiff
blob: 1f0c3e94fe9babe56c357f7c75cb8c14ca146cc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -Naur ELFkickers-3.1.orig/Makefile ELFkickers-3.1/Makefile
--- ELFkickers-3.1.orig/Makefile	2015-07-23 13:25:30.000000000 -0400
+++ ELFkickers-3.1/Makefile	2016-11-16 17:17:08.237039268 -0500
@@ -24,10 +24,9 @@
 infect: bin/infect doc/infect.1
 
 install: $(PROGRAMS)
-	mkdir -p $(prefix)/bin
-	cp bin/* $(prefix)/bin/.
-	mkdir -p $(prefix)/share/man/man1
-	cp doc/* $(prefix)/share/man/man1/.
+	install -d $(prefix)/usr/bin $(prefix)/usr/share/man/man1
+	install bin/* $(prefix)/usr/bin
+	install -m 644 doc/* $(prefix)/usr/share/man/man1
 
 clean:
 	for dir in elfrw $(PROGRAMS) ; do $(MAKE) -C$$dir clean ; done