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