summaryrefslogtreecommitdiff
path: root/hw/xprint/config/C/print/models/HPLJ4050-PS/fonts/Makefile.am
blob: f4f4243e91a9a0bda6fb001145abe897fd93c712 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
xpcdir = @xpconfigdir@/C/print/models/HPLJ4050-PS/fonts

parentdir = ../../PSdefault/fonts

XPFONTS = \
        AvantGarde-Book.pmf \
        AvantGarde-BookOblique.pmf \
        AvantGarde-Demi.pmf \
        AvantGarde-DemiOblique.pmf \
        Courier-Bold.pmf \
        Courier-BoldOblique.pmf \
        Courier-Oblique.pmf \
        Courier.pmf \
        Helvetica-Bold.pmf \
        Helvetica-BoldOblique.pmf \
        Helvetica-Oblique.pmf \
        Helvetica.pmf \
        LubalinGraph-Book.pmf \
        LubalinGraph-BookOblique.pmf \
        LubalinGraph-Demi.pmf \
        LubalinGraph-DemiOblique.pmf \
        NewCentSchlbk-Bold.pmf \
        NewCentSchlbk-BoldItal.pmf \
        NewCentSchlbk-Ital.pmf \
        NewCentSchlbk-Roman.pmf \
        Souvenir-Demi.pmf \
        Souvenir-DemiItalic.pmf \
        Souvenir-Light.pmf \
        Souvenir-LightItalic.pmf \
        Symbol.pmf \
        Times-Bold.pmf \
        Times-BoldItalic.pmf \
        Times-Italic.pmf \
        Times-Roman.pmf \
        ZapfDingbats.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