3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-06 22:34:07 +00:00
sby/Makefile
2017-01-22 16:47:47 +01:00

26 lines
596 B
Makefile

help:
@echo ""
@echo "sudo make install"
@echo " build and install SymbiYosys (sby)"
@echo ""
@echo "make html"
@echo " build documentation in docs/build/html/"
@echo ""
@echo "make clean"
@echo " cleanup"
@echo ""
install:
cp sbysrc/sby_*.py /usr/local/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 > /usr/local/bin/sby
chmod +x /usr/local/bin/sby
html:
make -C docs html
clean:
make -C docs clean
rm -rf docs/build sbysrc/sby sbysrc/__pycache__