Skip to content

Commit

Permalink
unix/Makefile: Fix regression using install on non-GNU systems.
Browse files Browse the repository at this point in the history
This was fixed previously in 31fc81d but
regressed in 4af79e7.

Fixes #5885.
  • Loading branch information
dlech authored and dpgeorge committed Apr 13, 2020
1 parent 8470cd0 commit 1bbc15d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ports/unix/Makefile
Expand Up @@ -266,7 +266,8 @@ PREFIX = /usr/local
BINDIR = $(DESTDIR)$(PREFIX)/bin

install: $(PROG)
install -D $(PROG) $(BINDIR)/$(PROG)
install -d $(BINDIR)
install $(PROG) $(BINDIR)/$(PROG)

uninstall:
-rm $(BINDIR)/$(PROG)

0 comments on commit 1bbc15d

Please sign in to comment.