2019-04-09 13:59:33 +02:00
|
|
|
|
|
|
|
all: honk
|
|
|
|
|
2022-05-31 08:32:22 +02:00
|
|
|
honk: .preflightcheck schema.sql *.go go.mod
|
2023-07-13 08:27:53 +02:00
|
|
|
env CGO_ENABLED=1 go build -mod=`ls -d vendor 2> /dev/null` -o honk
|
2019-04-09 13:59:33 +02:00
|
|
|
|
2020-10-02 03:58:50 +02:00
|
|
|
.preflightcheck: preflight.sh
|
|
|
|
@sh ./preflight.sh
|
|
|
|
|
2023-08-28 07:06:39 +02:00
|
|
|
help:
|
|
|
|
for m in docs/*.[13578] ; do \
|
|
|
|
mandoc -T html -O fragment,man=%N.%S.html $$m | sed -E 's/<a class="Lk" href="([[:alnum:]._-]*)">/<img src="\1"><br>/g' > $$m.html ; \
|
|
|
|
done
|
|
|
|
|
2019-04-09 13:59:33 +02:00
|
|
|
clean:
|
|
|
|
rm -f honk
|
2019-05-12 16:02:44 +02:00
|
|
|
|
|
|
|
test:
|
|
|
|
go test
|