Makefile (view raw)
1
2all: honk
3
4honk: .preflightcheck schema.sql *.go go.mod
5 env CGO_ENABLED=1 go build -mod=`ls -d vendor 2> /dev/null` -o honk
6
7.preflightcheck: *.go preflight.sh
8 @sh ./preflight.sh
9
10help:
11 for m in docs/*.[13578] ; do \
12 mandoc -T html -O style=mandoc.css,man=%N.%S.html $$m | sed -E 's/<a class="Lk" href="([[:alnum:]._-]*)">/<img src="\1"><br>/g' > $$m.html ; \
13 done
14
15clean:
16 rm -f honk
17
18test:
19 go test