diff --git a/Makefile b/Makefile index f584f53d..91972fef 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -SOURCES=$(shell python3.12 scripts/read-config.py --sources ) -FAMILY=$(shell python3.12 scripts/read-config.py --family ) +SOURCES=$(shell python3 scripts/read-config.py --sources ) +FAMILY=$(shell python3 scripts/read-config.py --family ) DRAWBOT_SCRIPTS=$(shell ls documentation/*.py) DRAWBOT_OUTPUT=$(shell ls documentation/*.py | sed 's/\.py/.png/g') @@ -21,19 +21,19 @@ venv: venv/touchfile venv-test: venv-test/touchfile customize: venv - . venv/bin/activate; python3.12 scripts/customize.py + . venv/bin/activate; python3 scripts/customize.py build.stamp: venv sources/config.yaml $(SOURCES) rm -rf fonts (for config in sources/config*.yaml; do . venv/bin/activate; gftools builder $$config; done) && touch build.stamp venv/touchfile: requirements.txt - test -d venv || python3.12 -m venv venv + test -d venv || python3 -m venv venv . venv/bin/activate; pip install -Ur requirements.txt touch venv/touchfile venv-test/touchfile: requirements-test.txt - test -d venv-test || python3.12 -m venv venv-test + test -d venv-test || python3 -m venv venv-test . venv-test/bin/activate; pip install -Ur requirements-test.txt touch venv-test/touchfile @@ -46,7 +46,7 @@ proof: venv build.stamp images: venv $(DRAWBOT_OUTPUT) %.png: %.py build.stamp - . venv/bin/activate; python3.12 $< --output $@ + . venv/bin/activate; python3 $< --output $@ clean: rm -rf venv