diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2021-11-11 20:59:32 +0100 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2021-11-11 17:13:48 +0100 |
commit | d397ec65aac136557d795c2e912c7f9985050edd (patch) | |
tree | 08f025120113021296279f80399ad46bb7626581 /Makefile | |
parent | fbffcbbaaf3529572f7f55ff0c21735b9a29562b (diff) | |
download | vtcol-d397ec65aac136557d795c2e912c7f9985050edd.tar.gz |
add built instructions for manpage
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
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 |