Commit fa6ef0b9de841890798eb63faa2b5ce2b51a3afd
Regenerate when font files change, to copy updated font files into place
Grey Nicholson committed on 5/18/2022, 9:42:03 AMParent: 44e3f52d963ce869d51c6687b0ab8efd9eb05a59
Files changed
Makefile | changed |
Makefile | |||
---|---|---|---|
@@ -1,7 +1,7 @@ | |||
1 | 1 … | .PHONY: lint clean check-publish publish serve | |
2 | 2 … | ||
3 | -output: $(shell find content static) .cache/generator .cache/lint | ||
3 … | +output: $(shell find content static) .cache/generator .cache/fonts .cache/lint | ||
4 | 4 … | python generator/generate.py | |
5 | 5 … | touch $@ | |
6 | 6 … | ||
7 | 7 … | .cache/generator: $(shell find generator) .cache/deps | |
@@ -15,8 +15,11 @@ | |||
15 | 15 … | toolbox run pip install python-frontmatter==1.0.0 | |
16 | 16 … | mkdir -p .cache | |
17 | 17 … | touch $@ | |
18 | 18 … | ||
19 … | +.cache/fonts: $(shell find ~/Software/src/iosevka/dist/*/woff2/) ~/Software/src/smol-emoji/SmolEmoji-Regular.otf | ||
20 … | + touch $@ | ||
21 … | + | ||
19 | 22 … | lint: .cache/lint | |
20 | 23 … | ||
21 | 24 … | .cache/lint: $(shell find static/style) | |
22 | 25 … | toolbox run npx -y prettier -w static/style/tarazed.css |
Built with git-ssb-web