2021-04-19 22:35:05 +07:00
|
|
|
.POSIX:
|
|
|
|
|
2022-01-29 23:02:08 +07:00
|
|
|
default: book
|
2021-07-02 19:08:25 +07:00
|
|
|
|
2021-06-20 18:24:23 +07:00
|
|
|
.PHONY: diagrams
|
|
|
|
diagrams:
|
|
|
|
cd diagrams \
|
2021-09-04 14:03:30 +07:00
|
|
|
&& python3 -m venv .venv \
|
2021-09-04 14:13:16 +07:00
|
|
|
&& source .venv/bin/activate \
|
2021-09-04 14:03:30 +07:00
|
|
|
&& pip3 install -r requirements.txt \
|
2021-08-30 14:05:19 +07:00
|
|
|
&& python3 *.py
|
2021-11-28 13:48:44 +07:00
|
|
|
mkdir -p src/images
|
2022-02-02 09:02:15 +07:00
|
|
|
cp diagrams/*.png src/images/
|
2021-07-02 19:08:25 +07:00
|
|
|
|
|
|
|
.PHONY: book
|
2021-08-30 14:03:28 +07:00
|
|
|
book: diagrams
|
2021-07-02 19:08:25 +07:00
|
|
|
mdbook build .
|