forked from react-pdf/fontkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (20 loc) · 961 Bytes
/
Makefile
File metadata and controls
30 lines (20 loc) · 961 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
29
30
SOURCES = $(shell find src)
SHELL := /bin/bash
PATH := ./node_modules/.bin:$(PATH)
all: index.js
src/opentype/shapers/dataTrie.json:
babel-node src/opentype/shapers/generate-data.js
src/opentype/shapers/useTrie.json:
babel-node src/opentype/shapers/gen-use.js
src/opentype/shapers/indicTrie.json:
babel-node src/opentype/shapers/gen-indic.js
dataTrie.json: src/opentype/shapers/dataTrie.json
cp src/opentype/shapers/dataTrie.json dataTrie.json
useTrie.json: src/opentype/shapers/useTrie.json
cp src/opentype/shapers/useTrie.json useTrie.json
indicTrie.json: src/opentype/shapers/indicTrie.json
cp src/opentype/shapers/indicTrie.json indicTrie.json
index.js: $(SOURCES) dataTrie.json useTrie.json indicTrie.json
rollup -c
clean:
rm -f dataTrie.json indicTrie.json useTrie.json src/opentype/shapers/dataTrie.json src/opentype/shapers/useTrie.json src/opentype/shapers/use.json src/opentype/shapers/indicTrie.json src/opentype/shapers/indic.json