summaryrefslogtreecommitdiff
path: root/obsolete/fonts/utopia/Makefile
blob: 316cf7629268bad74356f2eac6584c9b087a512c (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
# Makefile for the Utopia fonts.

version = 1.0

AFM2TFM = afm2tfm
VPTOVF = vptovf

.PRECIOUS: %.vpl

tfm_files = putr.tfm putri.tfm putb.tfm putbi.tfm putrc.tfm

all: $(tfm_files)

# Make the raw TFM file as well as the VPL file.
%.vpl: %.afm
	$(AFM2TFM) $< -v $@ r$*

putrc.vpl:
	$(AFM2TFM) putr -V putrc.vpl rputr

# Make the VF file as well as the TFM file.
%.tfm: %.vpl
	$(VPTOVF) $< $*.vf $@

distclean clean mostlyclean:
	rm -f *.dvi *.log *.vpl *.ps

realclean: distclean
	rm -f *.vf *.tfm

dist_files = ChangeLog Makefile README psfonts.add *.tfm *.vf *.afm *.pfa
distdir = utopia-$(version)
dist:
	rm -rf $(distdir)
	mkdir $(distdir)
	ln $(dist_files) $(distdir)
	tar czf $(distdir). $(distdir)
	rm -rf $(distdir)