summaryrefslogtreecommitdiff
path: root/libgeometry/doc/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'libgeometry/doc/mkfile')
-rw-r--r--libgeometry/doc/mkfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/libgeometry/doc/mkfile b/libgeometry/doc/mkfile
new file mode 100644
index 0000000..8fb6d1c
--- /dev/null
+++ b/libgeometry/doc/mkfile
@@ -0,0 +1,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