diff options
author | Damien George <damien.p.george@gmail.com> | 2014-08-26 16:03:57 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-08-26 16:03:57 +0100 |
commit | db63660c19c9080d040ad48a5fb2a2ab233b7ede (patch) | |
tree | 96f7901c195b2ff9a3c35dc14a49df96e794820f /unix | |
parent | 3bb7efc943062052606d307773841d662ab3b2d5 (diff) | |
download | micropython-db63660c19c9080d040ad48a5fb2a2ab233b7ede.tar.gz micropython-db63660c19c9080d040ad48a5fb2a2ab233b7ede.zip |
Add pip-micropython to unix make install.
Also add -t/--target option to pip-micropython to allowing installing to
the pyboard.
Thanks to turbinenreiter/Sebastian Plamauer for the patch.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/unix/Makefile b/unix/Makefile index e5e8ff64aa..ed79121c6f 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -106,10 +106,14 @@ test: $(PROG) ../tests/run-tests TARGET = micropython PREFIX = $(DESTDIR)/usr/local BINDIR = $(PREFIX)/bin +PIPSRC = ../tools/pip-micropython +PIPTARGET = pip-micropython install: micropython install -D $(TARGET) $(BINDIR)/$(TARGET) + install -D $(PIPSRC) $(BINDIR)/$(PIPTARGET) # uninstall micropython uninstall: -rm $(BINDIR)/$(TARGET) + -rm $(BINDIR)/$(PIPTARGET) |