From 4d4a9b2e4fd1b9644c91b5ed78fefa51a0a20207 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 7 Mar 2018 12:31:56 +0100 Subject: [PATCH] Add "mkdir -p" to "make install" Signed-off-by: Clifford Wolf --- Makefile | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2