-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
38 lines (32 loc) · 1017 Bytes
/
Makefile
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
31
32
33
34
35
36
37
.PHONY: all txt extract fancy json
all: extract fancy json
txt: extract fancy
extract:
@bin/extract.sh
fancy:
@echo "Making the text fancier..."
@bin/fancify.sh
json:
@mkdir -p json
@echo "Creating JSON dicts..."
@bin/chardict.py
@echo "... de_modern"
@bin/merge.py txt/deu_*.json > json/de_modern.json
@echo "... en_modern"
@bin/merge.py txt/eng_*.json > json/en_modern.json
@echo "... es_modern"
@bin/merge.py txt/spa_*.json > json/es_modern.json
@echo "... fr_modern"
@bin/merge.py txt/fra_*.json > json/fr_modern.json
@echo "... it_modern"
@bin/merge.py txt/ita_*.json > json/it_modern.json
@echo "... de_literary"
@bin/merge.py txt/de_*.json > json/de_literary.json
@echo "... en_literary"
@bin/merge.py txt/en_*.json > json/en_literary.json
@echo "... es_literary"
@bin/merge.py txt/es_*.json > json/es_literary.json
@echo "... fr_literary"
@bin/merge.py txt/fr_*.json > json/fr_literary.json
@echo "... it_literary"
@bin/merge.py txt/it_*.json > json/it_literary.json