diff options
author | Teddy Wing | 2020-10-03 17:08:57 +0200 |
---|---|---|
committer | Teddy Wing | 2020-10-03 17:08:57 +0200 |
commit | fc94501bd6aa696de449321aa41770bc96a4bb34 (patch) | |
tree | 18cc96b0112124fe82b28a8d2fe808250d2b59c4 /Makefile | |
parent | bea8ea75c62c2f7c6959f12e1af652aa324827a9 (diff) | |
download | git-todo-fc94501bd6aa696de449321aa41770bc96a4bb34.tar.bz2 |
Add man page
Copied some of the structure and the Makefile recipe from
'git-suggestion'.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -3,6 +3,15 @@ DEPENDENCIES := Cargo.toml DEBUG_PRODUCT := target/debug/git-todo +.PHONY: doc +doc: doc/git-todo.1 + +doc/git-todo.1: doc/git-todo.1.txt + sed 's/`/*/g' $< > $@.transformed + a2x --no-xmllint --format manpage $@.transformed + rm $@.transformed + + .PHONY: test test: $(DEBUG_PRODUCT) prove -v -I./t |