summaryrefslogtreecommitdiff
path: root/doc/mkfile
blob: 3bac031985d66268f68a513e68d31ee5545bbd6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FONTS='.FP lucidasans'
DOCNAME=libgraphics

all:VQ: $DOCNAME.ps $DOCNAME.pdf

clean:VQ:
	rm -f $DOCNAME.ps $DOCNAME.pdf

$DOCNAME.ps:V: $DOCNAME.ms
	{echo $FONTS; cat $prereq}> _$prereq
	eval `{doctype _$prereq} | lp -dstdout > $target && rm -f _$prereq

$DOCNAME.pdf:V: $DOCNAME.ps
	cat /sys/doc/docfonts $prereq > _$prereq
	ps2pdf _$prereq $target && rm -f _$prereq