- Re-enables the 3L version of the font in tools/build_font.py and Makefile.
- Removes /Downloads/qrfont copy targets from Makefile.
- Adds the --delete flag to the Makefile deploy target for remote cleanup.
- Adds an interactive checkbox to index.html ('Apply QR font to textbox') allowing users to type directly in the QR font and observe zero-advance cursor/shaping behavior.
27 lines
504 B
Makefile
27 lines
504 B
Makefile
.PHONY: all clean deploy
|
|
.PHONY: fast-placeholder full-parity
|
|
|
|
export UV_CACHE_DIR := .uv-cache
|
|
|
|
FONTS = dist/qrfont-1L.ttf dist/qrfont-2L.ttf dist/qrfont-3L.ttf
|
|
INDEX = dist/index.html
|
|
|
|
all: $(FONTS) $(INDEX)
|
|
|
|
$(FONTS): tools/build_font.py
|
|
uv run tools/build_font.py
|
|
|
|
$(INDEX): tools/build_html.py
|
|
uv run tools/build_html.py
|
|
|
|
fast-placeholder:
|
|
uv run tools/build_font.py --placeholder-parity
|
|
|
|
deploy: all
|
|
rsync -avz --delete dist/ psy:/www/qr/
|
|
|
|
full-parity: all
|
|
|
|
clean:
|
|
rm -rf build dist .uv-cache
|