Skip to content

Commit 14b1912

Browse files
committed
[Makefile] updated make targets
1 parent 953c35b commit 14b1912

File tree

1 file changed

+35
-17
lines changed

1 file changed

+35
-17
lines changed

Makefile

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,58 @@ archives:
55

66
build: ttf webfonts
77

8-
build-with-dependencies: source/*.ufo
9-
./build-pipenv.sh
10-
./build-ttf.sh --install-dependencies
11-
./build-woff.sh --install-dependencies
12-
./build-woff2.sh --install-dependencies
13-
./build-subsets.sh
8+
build-with-dependencies: compile-local-dep ttf webfonts
9+
10+
build-system: ttf-system webfonts-system
11+
12+
build-local-ttfa:
13+
tools/scripts/install/ttfautohint-build.sh
14+
15+
build-local-sfnt2woffzopfli:
16+
tools/scripts/install/sfnt2woff-zopfli-build.sh
17+
18+
build-local-woff2:
19+
tools/scripts/install/woff2-build.sh
20+
21+
compile-local-dep: build-local-ttfa build-local-sfnt2woffzopfli build-local-woff2
1422

1523
css:
1624
tools/scripts/css/css-build.sh
1725

1826
lint: shellcheck ufolint
1927

28+
pipenv:
29+
./build-pipenv.sh
30+
2031
shellcheck: build-pipenv.sh build-ttf.sh build-woff.sh build-woff2.sh build-subsets.sh tools/scripts/install/ttfautohint-build.sh postbuild_processing/archive_prep/archiver.sh tools/scripts/css/css-build.sh
2132
$@ $^
2233

23-
subsets: source/*.ufo
24-
./build-pipenv.sh
34+
subsets: pipenv
2535
./build-subsets.sh
2636

27-
ttf:
28-
./build-pipenv.sh
37+
ttf: pipenv
2938
./build-ttf.sh
3039

40+
ttf-system:
41+
./build-ttf.sh --system
42+
3143
ufolint: source/*.ufo
3244
$@ $^
3345

34-
webfonts:
35-
./build-pipenv.sh
36-
./build-woff.sh
37-
./build-woff2.sh
38-
./build-subsets.sh
46+
webfonts: woff woff2 subsets
47+
48+
webfonts-system: woff-system woff2-system subsets-system
3949

40-
woff:
50+
woff: pipenv
4151
./build-woff.sh
4252

43-
woff2:
53+
woff-system:
54+
./build-woff.sh --system
55+
56+
woff2: pipenv
4457
./build-woff2.sh
58+
59+
woff2-system:
60+
./build-woff2.sh --system
61+
62+
.PHONY: all archives build build-with-dependencies build-local-ttfa build-local-sfnt2woffzopfli build-local-woff2 build-system compile-local-dep css lint pipenv shellcheck subsets ttf ttf-system ufolint webfonts webfonts-system woff woff-system woff2 woff2-system

0 commit comments

Comments
 (0)