blob: e7dfe61f3ad624b80a6191c47ae0387c0e09c0b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
.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 || \
a2x -d manpage -f manpage -a release-version=$(version) acid.adoc
test: all
go test
clean:
rm -f $(outputs)
|