acid/Makefile

16 lines
282 B
Makefile
Raw Permalink Normal View History

2024-03-29 14:08:15 +01:00
.POSIX:
.SUFFIXES:
version = dev
outputs = acid acid.1
all: $(outputs)
acid: acid.go
go build -ldflags "-X 'main.projectVersion=$(version)'" -o $@
acid.1: acid.adoc
asciidoctor -b manpage -a release-version=$(version) -o $@ acid.adoc
2024-04-16 07:38:23 +02:00
test: all
go test
2024-03-29 14:08:15 +01:00
clean:
rm -f $(outputs)