aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTeddy Wing2022-05-11 00:02:27 +0200
committerTeddy Wing2022-05-11 00:02:27 +0200
commit32c85b72d93807c2f01d618d91519af043a39285 (patch)
tree2583b61152898eb303e34ca817be4da8aa2803eb /Makefile
parent754002c3b502d6f2beb15e979b1cb22af3b11a14 (diff)
downloadwajir-32c85b72d93807c2f01d618d91519af043a39285.tar.bz2
Makefile: Generate man page from Asciidoc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 03dbb2c..b02e73d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,7 @@
LISP ?= sbcl
+MAN_PAGE := doc/wajir.1
+
.PHONY: build
build: wajir
@@ -9,3 +11,10 @@ wajir: wajir.asd lib/* src/*.lisp
--eval '(ql:quickload :wajir)' \
--eval '(asdf:make :wajir)' \
--eval '(quit)'
+
+
+.PHONY: doc
+doc: $(MAN_PAGE)
+
+$(MAN_PAGE): doc/wajir.1.txt
+ a2x --no-xmllint --format manpage $<