blob: 4450d9ea7319e991fc622c9ded158c3d45dc2cca (
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
|
</sys/doc/fonts
OBJ=\
p0\
p1\
p2\
p3\
p4\
p5\
p6\
p7\
p8\
p9\
pa\
all:V: fs.ps fs.pdf fs.html
%.pdf:D: %.ps
cat ../docfonts $stem.ps >_$stem.ps
# distill _$stem.ps && mv _$stem.pdf $stem.pdf
ps2pdf _$stem.ps $stem.pdf && rm -f _$stem.ps
fs.ps:D: $OBJ
{echo $FONTS; tbl $OBJ } | eqn | troff -ms | lp -dstdout >$target
../cleanps $target
fs.trout:D: $OBJ
{echo $FONTS; tbl $OBJ } | eqn | troff -ms >$target
fs.html:D: $OBJ
{echo $FONTS; tbl $OBJ } | eqn | htmlroff -ms -mhtml >$target
clean:V:
rm -f fs.^(html trout ps pdf)
|