honk/Makefile

20 lines
402 B
Makefile
Raw Normal View History

2019-04-09 11:59:33 +00:00
all: honk
2022-05-31 06:32:22 +00:00
honk: .preflightcheck schema.sql *.go go.mod
env CGO_ENABLED=1 go build -mod=`ls -d vendor 2> /dev/null` -o honk
2019-04-09 11:59:33 +00:00
.preflightcheck: preflight.sh
@sh ./preflight.sh
2023-08-28 05:06:39 +00:00
help:
for m in docs/*.[13578] ; do \
2023-08-31 20:40:14 +00:00
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 ; \
2023-08-28 05:06:39 +00:00
done
2019-04-09 11:59:33 +00:00
clean:
rm -f honk
2019-05-12 14:02:44 +00:00
test:
go test