From: ilovezfs Date: Wed, 28 Feb 2018 08:47:35 +0000 (-0800) Subject: Makefile: don't use non-portable -t option (#83) X-Git-Tag: v1.8~68 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=b750e4162b519971752744ee335b3f4b627882e6;p=nnn.git Makefile: don't use non-portable -t option (#83) This fixes the build with the BSD install command by eschewing the GNU specific -t option, which is not portable. --- diff --git a/Makefile b/Makefile index b20fa8f8..239a001a 100644 --- a/Makefile +++ b/Makefile @@ -33,9 +33,9 @@ debug: $(SRC) install: all install -m 0755 -d $(DESTDIR)$(PREFIX)/bin - install -m 0755 -t $(DESTDIR)$(PREFIX)/bin $(BIN) $(PLAYER) + install -m 0755 $(BIN) $(PLAYER) $(DESTDIR)$(PREFIX)/bin install -m 0755 -d $(DESTDIR)$(MANPREFIX)/man1 - install -m 0644 -t $(DESTDIR)$(MANPREFIX)/man1 $(BIN).1 + install -m 0644 $(BIN).1 $(DESTDIR)$(MANPREFIX)/man1 uninstall: $(RM) $(DESTDIR)$(PREFIX)/bin/$(BIN)