-
-
Notifications
You must be signed in to change notification settings - Fork 614
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (22 loc) · 619 Bytes
/
Makefile
File metadata and controls
28 lines (22 loc) · 619 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
help:
@echo "###"
@echo "# Build targets for WenKai"
@echo "###"
@echo
@echo " make build: Builds the fonts and places them in the fonts/ directory"
@echo
venv: venv/touchfile
merge:
. venv/bin/activate; ./sources/build.sh;
export:
. venv/bin/activate; gftools builder sources/project.yaml;
build: venv merge export
. venv/bin/activate; python3 sources/shared/scripts/post.py;
venv/touchfile: requirements.txt
test -d venv || python3 -m venv venv
. venv/bin/activate; pip install -Ur requirements.txt
touch venv/touchfile
clean:
rm -rf venv
find -iname "*.ufo" -delete
find -iname "*.pyc" -delete