Changeset 67 in code for trunk/Makefile
- Timestamp:
- Jul 23, 2023, 1:18:53 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r57 r67 1 destdir?=2 goflags ?= -v -ldflags "-w -X `go list`.Version=$(version) -X `go list`.Commit=$(commit)" -tags "static_build" 3 prefix?= /usr/local4 version ?= `git describe --abbrev=0 --tags || echo "$version"`5 commit ?= `git rev-parse --short HEAD || echo "$commit"`1 DESTDIR ?= 2 GOFLAGS ?= -v -ldflags "-w -X `go list`.Version=$(VERSION) -X `go list`.Commit=$(COMMIT)" -tags "static_build" -mod=vendor 3 PREFIX ?= /usr/local 4 VERSION ?= `git describe --abbrev=0 --tags || echo "$VERSION"` 5 COMMIT ?= `git rev-parse --short HEAD || echo "$COMMIT"` 6 6 7 7 8 8 build: 9 go build ${ goflags} ./cmd/aya9 go build ${GOFLAGS} ./cmd/aya 10 10 clean: 11 11 rm -f aya 12 12 install: 13 install -Dm0755 aya ${ destdir}${prefix}/bin/aya14 install -Dm0644 aya.1 ${ destdir}${prefix}/share/man/man1/aya.113 install -Dm0755 aya ${DESTDIR}${PREFIX}/bin/aya 14 install -Dm0644 aya.1 ${DESTDIR}${PREFIX}/share/man/man1/aya.1 15 15 uninstall: 16 rm -f ${ prefix}/bin/aya17 rm -f ${ prefix}/share/man/man1/aya.116 rm -f ${PREFIX}/bin/aya 17 rm -f ${PREFIX}/share/man/man1/aya.1
Note:
See TracChangeset
for help on using the changeset viewer.