You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/elfkickers/files/elfkickers-3.1-create-destd...

18 lines
620 B

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