aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 1fd3dc3507da79bcda0a369e022db7ae3a2a35c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.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
clean:
	rm -f $(outputs)