summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-10-28 16:18:03 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-10-28 16:18:03 -0700
commit3690739ff8c9c4d01d83aace3dbe03a790e56b17 (patch)
tree7faf3f14c326f619e785190501ce91ae460379a0 /Makefile
parent74d7650d771937c13ed9e80bbccd19558ecbdd9a (diff)
downloadadenosine-3690739ff8c9c4d01d83aace3dbe03a790e56b17.tar.gz
adenosine-3690739ff8c9c4d01d83aace3dbe03a790e56b17.zip
CLI: update manpage, CLI args, README
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2bfb764..4bfc7c2 100644
--- a/Makefile
+++ b/Makefile
@@ -30,11 +30,14 @@ completions: build ## generate shell completions
./target/debug/adenosine --shell-completions bash status > extra/adenosine.bash_completions
./target/debug/adenosine --shell-completions bash status > extra/adenosine.zsh_completions
-extra/adenosine.1: extra/adenosine.1.scdoc
+extra/%.1: extra/%.1.scdoc
scdoc < extra/adenosine.1.scdoc > extra/adenosine.1
+extra/adenosine.1.md: extra/adenosine.1
+ pandoc extra/adenosine.1 -o extra/adenosine.1.md
+
.PHONY: manpage
-manpage: extra/adenosine.1 ## Rebuild manpage using scdoc
+manpage: extra/adenosine.1.md ## Rebuild manpages using scdoc and pandoc
.PHONY: deb
deb: ## Build debian packages (.deb files)