summaryrefslogtreecommitdiff
path: root/doc/mkfile
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2020-04-17 11:42:47 +0000
committerrodri <rgl@antares-labs.eu>2020-04-17 11:42:47 +0000
commit91d8cc8d9adfec7e9b5f415ebd7b7f740cde6e2d (patch)
tree66cdaa79197a65d9151c5952f7d2c803576e556f /doc/mkfile
downloadlibgraphics-91d8cc8d9adfec7e9b5f415ebd7b7f740cde6e2d.tar.gz
libgraphics-91d8cc8d9adfec7e9b5f415ebd7b7f740cde6e2d.tar.bz2
libgraphics-91d8cc8d9adfec7e9b5f415ebd7b7f740cde6e2d.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..3bac031
--- /dev/null
+++ b/doc/mkfile
@@ -0,0 +1,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