unix/Makefile: Fix regression using install on non-GNU systems.
This was fixed previously in 31fc81d3b8bb227109777eed02d0021e564fb523 but regressed in 4af79e76943312bf71be395a71fa80ab39e7c2c2. Fixes #5885.
This commit is contained in:
parent
8470cd0be9
commit
1bbc15dd15
@ -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…
x
Reference in New Issue
Block a user