Changeset 69 in code for trunk/Makefile
- Timestamp:
- Apr 18, 2025, 5:17:48 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r65 r69 1 1 GO ?= go 2 GOFLAGS ?= -v -ldflags "-w -X ` go list`.Version=${VERSION} -X `go list`.Commit=${COMMIT} -X `go list`.Build=${BUILD}"2 GOFLAGS ?= -v -ldflags "-w -X `${GO} list`.Version=${VERSION}" 3 3 CGO ?= 0 4 4 5 VERSION = `git describe --abbrev=0 --tags 2>/dev/null || echo "$VERSION"` 6 COMMIT = `git rev-parse --short HEAD || echo "$COMMIT"` 7 BRANCH = `git rev-parse --abbrev-ref HEAD` 8 BUILD = `git show -s --pretty=format:%cI` 9 5 VERSION = 2024.02.10 10 6 PREFIX ?= /usr/local 11 7 … … 13 9 14 10 marisa: 15 CGO_ENABLED=${CGO} gobuild ${GOFLAGS} ./cmd/marisa11 CGO_ENABLED=${CGO} ${GO} build ${GOFLAGS} ./cmd/marisa 16 12 marisa-trash: 17 CGO_ENABLED=${CGO} gobuild ${GOFLAGS} ./cmd/marisa-trash13 CGO_ENABLED=${CGO} ${GO} build ${GOFLAGS} ./cmd/marisa-trash 18 14 clean: 19 15 rm -f marisa marisa-trash … … 21 17 install -Dm0755 marisa ${PREFIX}/bin/marisa 22 18 install -Dm0755 marisa-trash ${PREFIX}/bin/marisa-trash 23 install -Dm0644 marisa.1 ${PREFIX}/ share/man/man1/marisa.124 install -Dm0644 marisa.conf.5 ${PREFIX}/ share/man/man5/marisa.conf.519 install -Dm0644 marisa.1 ${PREFIX}/man/man1/marisa.1 20 install -Dm0644 marisa.conf.5 ${PREFIX}/man/man5/marisa.conf.5 25 21 .PHONY: marisa marisa-trash
Note:
See TracChangeset
for help on using the changeset viewer.