aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar ilovezfs <ilovezfs@icloud.com>2018-02-28 00:47:35 -0800
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-02-28 14:17:35 +0530
commitb750e4162b519971752744ee335b3f4b627882e6 (patch)
tree6d2119ff6b5c5cb3d3134e2461d602cf5bbe436f /Makefile
parentb99c0362428815a7278d52589867536d9703293b (diff)
downloadnnn-b750e4162b519971752744ee335b3f4b627882e6.tar.gz
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b20fa8f..239a001 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)