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

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