aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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)