annotate Makefile @ 76:e8eb1fdb4b03
draft
Passed through golint only to get a load of garbage
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author |
yakumo.izuru |
date |
Mon, 04 Dec 2023 17:21:08 +0000 |
parents |
d8727551f403 |
children |
7b122b71fcfa |
rev |
line source |
66
|
1 DESTDIR ?=
|
74
|
2 GOFLAGS ?= -v -buildvcs=false -mod=vendor -buildmode=exe
|
66
|
3 PREFIX ?= /usr/local
|
74
|
4 VERSION ?= `git describe --tags`
|
54
|
5
|
|
6 build:
|
74
|
7 go build ${GOFLAGS} ./cmd/aya
|
54
|
8 clean:
|
55
|
9 rm -f aya
|
74
|
10 dist:
|
|
11 git archive --format=tar.gz --output=aya-${VERSION}.tar.gz HEAD
|
54
|
12 install:
|
66
|
13 install -Dm0755 aya ${DESTDIR}${PREFIX}/bin/aya
|
|
14 install -Dm0644 aya.1 ${DESTDIR}${PREFIX}/share/man/man1/aya.1
|
54
|
15 uninstall:
|
66
|
16 rm -f ${PREFIX}/bin/aya
|
|
17 rm -f ${PREFIX}/share/man/man1/aya.1
|