Commit | Line | Data |
---|---|---|
ce38b84b SK |
1 | # See: https://wiki.debian.org/Fonts |
2 | ||
b59a4c3b SK |
3 | .PHONY: maybeall all download extract build install |
4 | ||
5 | maybeall: | |
6 | $(MAKE) build | |
7 | $(MAKE) install | |
8 | ||
9 | all: | |
10 | $(MAKE) download | |
11 | $(MAKE) extract | |
12 | $(MAKE) build | |
13 | $(MAKE) install | |
14 | ||
15 | download: | |
16 | mkdir -p data | |
17 | cd data && wget 'https://sourceforge.net/projects/terminus-font/files/terminus-font-4.48/terminus-font-4.48.tar.gz' | |
18 | ||
19 | extract: | |
20 | cd data && tar xzf terminus-font-4.48.tar.gz | |
21 | ||
22 | build: data/terminus-font-4.48 | |
23 | cd data/terminus-font-4.48 && ./configure && make -j $(shell nproc) | |
24 | ||
25 | install: data/terminus-font-4.48 | |
26 | cd data/terminus-font-4.48 && make install fontdir | |
7f0e41db SK |
27 | sudo dpkg-reconfigure fontconfig-config |
28 | fc-cache -fv | |
b59a4c3b SK |
29 | |
30 | ||
31 | data/terminus-font-4.48.tar.gz: | |
32 | $(MAKE) download | |
33 | ||
34 | data/terminus-font-4.48: data/terminus-font-4.48.tar.gz | |
35 | $(MAKE) extract |