summaryrefslogtreecommitdiff
path: root/clformat/docs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'clformat/docs/Makefile')
-rw-r--r--clformat/docs/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/clformat/docs/Makefile b/clformat/docs/Makefile
new file mode 100644
index 0000000..c2ad7f4
--- /dev/null
+++ b/clformat/docs/Makefile
@@ -0,0 +1,22 @@
+.PHONY: all clean
+
+all: clformat.pdf
+
+clean:
+ rm clformat.pdf
+
+clformat.pdf: clformat.ps
+ ps2pdf clformat.ps clformat.pdf
+ rm clformat.ps
+
+clformat.ps: clformat.ms
+ groff -ms -s -t -Tps clformat.ms > clformat.ps
+
+clformat.ms: clformat.tmac
+ touch clformat.ms
+
+clformat.tmac:
+ touch clformat.tmac
+
+preview: clformat.pdf
+ fbpdf clformat.pdf