summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..013dc99
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+manpage = doc/vtcol.1.gz
+
+cargo-target = ./target
+
+$(manpage): doc/vtcol.rst
+ rst2man $< |gzip > $@
+
+man: $(manpage)
+
+doc: man
+
+clean:
+ rm -f -- $(manpage)
+ rm -rf -- $(cargo-target)
+
+.PHONY: clean