blob: 8cc269459dc20a25a19fbcd934b5aa7146337079 (
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
28
29
30
31
32
33
34
35
36
37
|
xpcdir = @xpconfigdir@/C/print/models/SPSPARC2/fonts
parentdir = @xpconfigdir@/C/print/models/PSdefault/fonts
XPFONTS = \
Courier-Bold.pmf \
Courier-BoldOblique.pmf \
Courier-Oblique.pmf \
Courier.pmf \
Helvetica-Bold.pmf \
Helvetica-BoldOblique.pmf \
Helvetica-Oblique.pmf \
Helvetica.pmf \
Symbol.pmf \
Times-Bold.pmf \
Times-BoldItalic.pmf \
Times-Italic.pmf \
Times-Roman.pmf
dest = $(DESTDIR)$(xpcdir)
remove-stuff:
for x in $(XPFONTS) ; do \
rm -f $(dest)/$$x ; \
done
rm -f $(dest)/fonts.dir
install-data-hook: remove-stuff
mkdir -p $(dest) ; \
for x in $(XPFONTS) ; do \
ln -s $(parentdir)/$$x $(dest)/$$x ; \
done
$(MKFONTSCALE) -b -s -l $(dest)
uninstall-hook: remove-stuff
|