summaryrefslogtreecommitdiff
path: root/obsolete/fonts/charter/Makefile
blob: 12299a574742290987144514bb09a33bfc154c6b (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
# Makefile for the Charter fonts.

version = 1.0

AFM2TFM = afm2tfm
VPTOVF = vptovf

.PRECIOUS: %.vpl

tfm_files = bchr.tfm bchri.tfm bchb.tfm bchbi.tfm bchrc.tfm

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

bchrc.vpl:
	$(AFM2TFM) bchr -V bchrc.vpl rbchr

# 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 *.pfb
distdir = charter-$(version)
dist: all
	rm -rf $(distdir)
	mkdir $(distdir)
	ln $(dist_files) $(distdir)
	tar czf $(distdir). $(distdir)
	rm -rf $(distdir)