summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/brushscr/Makefile
blob: 47a599a0ce68bdd2fe36a3c5efd7a773535e334f (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
# Dependencies

%.ps:%.dvi
	dvips -P pbsi -o $@ $<

%.dvi:%.tex
	latex $<
	while grep Rerun $*.log ; do latex $< ; done

# Phony targets

.PHONY: all clean samples tarball

# Rules

all:
	make clean
	sed -e '/EndCharMetrics/ r kern.txt' BrushScriptX-Italic.afm > pbsi.afm
	tex generate.tex
	for file in pbsi*.pl;  do pltotf $$file; done
	for file in pbsi*.vpl; do vptovf $$file; done

clean:
	-rm core *~ pbsi.afm
	-rm *.tfm *.vf *.pl *.vpl *.mtx *.fd
	-rm *.log *.aux *.dvi *.ps *.pdf

samples: t1sample.ps sample.ps example.ps

tarball:
	make all
	tar cvf $$HOME/export/brushscr.tar				\
	BrushScriptX-Italic.pfa BrushScriptX-Italic.afm kern.txt	\
	Makefile README config.pbsi pbsi.map pbsi.sty			\
	AAA_readme.tex sample.tex example.tex *.fd *.vf *.tfm
	gzip -fv9 $$HOME/export/brushscr.tar

t1sample.ps: t1sample.dvi

sample.ps: sample.dvi

example.ps: example.dvi

t1sample.dvi: t1sample.tex

sample.dvi: sample.tex

example.dvi: example.tex