Commit | Line | Data |
---|---|---|
b59a4c3b SK |
1 | .PHONY: maybeall all download extract build install |
2 | ||
3 | maybeall: | |
4 | $(MAKE) build | |
5 | $(MAKE) install | |
6 | ||
7 | all: | |
8 | $(MAKE) download | |
9 | $(MAKE) extract | |
10 | $(MAKE) build | |
11 | $(MAKE) install | |
12 | ||
13 | download: | |
14 | mkdir -p data | |
15 | cd data && wget 'https://sourceforge.net/projects/terminus-font/files/terminus-font-4.48/terminus-font-4.48.tar.gz' | |
16 | ||
17 | extract: | |
18 | cd data && tar xzf terminus-font-4.48.tar.gz | |
19 | ||
20 | build: data/terminus-font-4.48 | |
21 | cd data/terminus-font-4.48 && ./configure && make -j $(shell nproc) | |
22 | ||
23 | install: data/terminus-font-4.48 | |
24 | cd data/terminus-font-4.48 && make install fontdir | |
25 | ||
26 | ||
27 | data/terminus-font-4.48.tar.gz: | |
28 | $(MAKE) download | |
29 | ||
30 | data/terminus-font-4.48: data/terminus-font-4.48.tar.gz | |
31 | $(MAKE) extract |