mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-06 14:24:08 +00:00
Add "mkdir -p" to "make install"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
055b305c81
commit
4d4a9b2e4f
2
Makefile
2
Makefile
|
@ -15,6 +15,8 @@ help:
|
||||||
@echo ""
|
@echo ""
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||||
|
mkdir -p $(DESTDIR)$(PREFIX)/share/yosys/python3
|
||||||
cp sbysrc/sby_*.py $(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
|
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
|
chmod +x $(DESTDIR)$(PREFIX)/bin/sby
|
||||||
|
|
Loading…
Reference in a new issue