aboutsummaryrefslogtreecommitdiff
path: root/doc/mkfile
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2020-04-12 23:52:43 +0000
committerrodri <rgl@antares-labs.eu>2020-04-12 23:52:43 +0000
commitfc201ec63c3a98b34bf8abb1b9e72e1551e81d55 (patch)
tree5f0cdf6d186b86df1724c6f8d2bd775ef6ebbe8a /doc/mkfile
downloadlibgeometry-fc201ec63c3a98b34bf8abb1b9e72e1551e81d55.tar.gz
libgeometry-fc201ec63c3a98b34bf8abb1b9e72e1551e81d55.tar.bz2
libgeometry-fc201ec63c3a98b34bf8abb1b9e72e1551e81d55.zip
standalone version release.
Diffstat (limited to 'doc/mkfile')
-rw-r--r--doc/mkfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/mkfile b/doc/mkfile
new file mode 100644
index 0000000..8fb6d1c
--- /dev/null
+++ b/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