mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
unix/Makefile: Fix regression using install on non-GNU systems.
This was fixed previously in31fc81d3b8but regressed in4af79e7694. Fixes #5885.
This commit is contained in:
committed by
Damien George
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)
|
||||
|
||||
Reference in New Issue
Block a user