mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-23 21:35:31 +00:00
Makefile: Use install to guarantee existance of the installation directory
This commit is contained in:
parent
f6ab848797
commit
4d5b60cb55
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -15,7 +15,7 @@ help:
|
|||
@echo ""
|
||||
|
||||
install:
|
||||
cp sbysrc/sby_*.py $(DESTDIR)$(PREFIX)/share/yosys/python3/
|
||||
install -D -t $(DESTDIR)$(PREFIX)/share/yosys/python3/ sbysrc/sby_*.py
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue