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
|
@ -266,7 +266,8 @@ PREFIX = /usr/local
|
||||||
BINDIR = $(DESTDIR)$(PREFIX)/bin
|
BINDIR = $(DESTDIR)$(PREFIX)/bin
|
||||||
|
|
||||||
install: $(PROG)
|
install: $(PROG)
|
||||||
install -D $(PROG) $(BINDIR)/$(PROG)
|
install -d $(BINDIR)
|
||||||
|
install $(PROG) $(BINDIR)/$(PROG)
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
-rm $(BINDIR)/$(PROG)
|
-rm $(BINDIR)/$(PROG)
|
||||||
|
|
Loading…
Reference in New Issue