blob: c2c9feb7edc3ebce3e07ff9e64965bb11b95b68d (
plain)
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
|
BDF0!= find .. -type f -a -name \*.bdf -print
BDF= ${BDF0:C/.*\///}
PCF= ${BDF:C/bdf$/pcf/}
PCFALL!=find . -type f -a -name \*.pcf -print
.SUFFIXES: .bdf .pcf
.bdf.pcf:
bdftopcf -o $@ $<
all: ${PCF}
# Hard-link or copy the files; for some reason as of 2019 bdftopcf refuses
# to open symlinks. sigh
prepare::
for i in ${BDF0}; do \
ln $$i . || cp $$i .; \
done
install::
for i in ${PCFALL}; do \
${BSD_INSTALL_DATA} $$i ${FONTDIR}; \
${GZIP_CMD} ${FONTDIR}/$$i; \
done
clean:
rm -f *.bdf *.pcf
|