aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: b02e73d41603ec1b57e0f3256c4a215c20999956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
LISP ?= sbcl

MAN_PAGE := doc/wajir.1


.PHONY: build
build: wajir

wajir: wajir.asd lib/* src/*.lisp
	$(LISP) --load wajir.asd \
		--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 $<