From: Clifford Wolf Date: Wed, 7 Mar 2018 11:31:56 +0000 (+0100) Subject: Add "mkdir -p" to "make install" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d4a9b2e4fd1b9644c91b5ed78fefa51a0a20207;p=SymbiYosys.git Add "mkdir -p" to "make install" Signed-off-by: Clifford Wolf --- diff --git a/Makefile b/Makefile index 2ed7e67..689db67 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,8 @@ help: @echo "" install: + mkdir -p $(DESTDIR)$(PREFIX)/bin + mkdir -p $(DESTDIR)$(PREFIX)/share/yosys/python3 cp sbysrc/sby_*.py $(DESTDIR)$(PREFIX)/share/yosys/python3/ sed 's|##yosys-sys-path##|sys.path += [os.path.dirname(__file__) + p for p in ["/share/python3", "/../share/yosys/python3"]]|;' < sbysrc/sby.py > $(DESTDIR)$(PREFIX)/bin/sby chmod +x $(DESTDIR)$(PREFIX)/bin/sby