Mercurial > yakumo_izuru > aya
view Makefile @ 63:1bd8a674a30c draft
Replace some fmt calls with log
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author | yakumo.izuru |
---|---|
date | Sat, 29 Apr 2023 04:42:07 +0000 |
parents | 315dee06253e |
children | 787b5ee0289d |
line wrap: on
line source
destdir ?= goflags ?= -v -ldflags "-w -X `go list`.Version=$(version) -X `go list`.Commit=$(commit)" -tags "static_build" prefix ?= /usr/local version ?= `git describe --abbrev=0 --tags || echo "$version"` commit ?= `git rev-parse --short HEAD || echo "$commit"` build: go build ${goflags} ./cmd/aya clean: rm -f aya 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