acid/Makefile

14 lines
263 B
Makefile
Raw 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
clean:
rm -f $(outputs)