blob: 61f2cb8e038bd20513c514b741b3a81ec81c5e94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
all:
install -m 0755 -d /usr/share/fonts/$(NAME)
install -p -m 644 *.ttf /usr/share/fonts/$(NAME)
install -m 0755 -d /usr/share/fontconfig/conf.avail /etc/fonts/conf.d
for f in $(FAMILIES) ; do \
FILE=$(NAME)-$$f.conf; \
install -m 0644 -p $$FILE /usr/share/fontconfig/conf.avail/$(PRIO)-$$FILE; \
ln -s /usr/share/fontconfig/conf.avail/$(PRIO)-$$FILE /etc/fonts/conf.d/$(PRIO)-$$FILE; \
done
if [ "x$(FAMILIES)" == "x" ] ; then \
FILE=$(NAME).conf; \
install -m 0644 -p $$FILE /usr/share/fontconfig/conf.avail/$(PRIO)-$$FILE; \
ln -s /usr/share/fontconfig/conf.avail/$(PRIO)-$$FILE /etc/fonts/conf.d/$(PRIO)-$$FILE; \
fi
for f in $(EXTRA_CONFS) ; do \
install -m 0644 -p $$f /usr/share/fontconfig/conf.avail/$$f; \
ln -s /usr/share/fontconfig/conf.avail/$$f /etc/fonts/conf.d/$$f; \
done
install:
true
|