DESTDIR ?= GOFLAGS ?= -v -buildvcs=false -mod=vendor -buildmode=exe PREFIX ?= /usr/local VERSION ?= `git describe --tags` build: go build ${GOFLAGS} ./cmd/aya clean: rm -f aya dist: git archive --format=tar.gz --output=aya-${VERSION}.tar.gz HEAD install: install -Dm0755 aya ${DESTDIR}${PREFIX}/bin/aya install -Dm0644 aya.1 ${DESTDIR}${PREFIX}/share/man/man1/aya.1 uninstall: rm -f ${PREFIX}/bin/aya rm -f ${PREFIX}/share/man/man1/aya.1