honk/Makefile

20 lines
402 B
Makefile
Raw Normal View History

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