unix/Makefile: Fix regression using install on non-GNU systems.
This was fixed previously in31fc81d3b8
but regressed in4af79e7694
. Fixes #5885.
This commit is contained in:
parent
8470cd0be9
commit
1bbc15dd15
ports/unix
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue