aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xprint/config/C/print/models/SPSPARC2/fonts/Makefile.am
blob: d1ee6cf42b7e52356f63cbf3eb7ae507045fdd16 (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 = ../../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