Changeset 69 in code for trunk/Makefile


Ignore:
Timestamp:
Apr 18, 2025, 5:17:48 PM (7 weeks ago)
Author:
yakumo.izuru
Message:

もっと頑張れよ、魔理沙

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r65 r69  
    11GO ?= go
    2 GOFLAGS ?= -v -ldflags "-w -X `go list`.Version=${VERSION} -X `go list`.Commit=${COMMIT} -X `go list`.Build=${BUILD}"
     2GOFLAGS ?= -v -ldflags "-w -X `${GO} list`.Version=${VERSION}"
    33CGO ?= 0
    44
    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 
     5VERSION = 2024.02.10
    106PREFIX ?= /usr/local
    117
     
    139
    1410marisa:
    15         CGO_ENABLED=${CGO} go build ${GOFLAGS} ./cmd/marisa
     11        CGO_ENABLED=${CGO} ${GO} build ${GOFLAGS} ./cmd/marisa
    1612marisa-trash:
    17         CGO_ENABLED=${CGO} go build ${GOFLAGS} ./cmd/marisa-trash
     13        CGO_ENABLED=${CGO} ${GO} build ${GOFLAGS} ./cmd/marisa-trash
    1814clean:
    1915        rm -f marisa marisa-trash
     
    2117        install -Dm0755 marisa ${PREFIX}/bin/marisa
    2218        install -Dm0755 marisa-trash ${PREFIX}/bin/marisa-trash
    23         install -Dm0644 marisa.1 ${PREFIX}/share/man/man1/marisa.1
    24         install -Dm0644 marisa.conf.5 ${PREFIX}/share/man/man5/marisa.conf.5
     19        install -Dm0644 marisa.1 ${PREFIX}/man/man1/marisa.1
     20        install -Dm0644 marisa.conf.5 ${PREFIX}/man/man5/marisa.conf.5
    2521.PHONY: marisa marisa-trash
Note: See TracChangeset for help on using the changeset viewer.