Changeset 3 in code for trunk/Makefile


Ignore:
Timestamp:
May 4, 2025, 5:13:05 PM (5 weeks ago)
Author:
Izuru Yakumo
Message:

You humans are so full of yourselves. If you want to live a long life, then you should be a little more quiet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r2 r3  
     1GO ?= go
    12PREFIX ?= /usr/local
    2 GOFLAGS ?= -v -ldflags "-w -X `go list`.Version=${VERSION} -X `go list`.Commit=${COMMIT} -X `go list`.Build=${BUILD}" -tags "static_build"
     3GOFLAGS ?= -v -ldflags "-w -X `${GO} list`.Version=${VERSION} -X `${GO} list`.Commit=${REV} -X `${GO} list`.Date=${DATE} -X `${GO} list`.Vendor=${VENDOR}"
    34
    4 VERSION ?= `git describe --abbrev=0 --tags || echo $VERSION`
    5 COMMIT ?= `git rev-parse --short HEAD || echo $COMMIT`
    6 BUILD ?= `git show -s --pretty=format:%cI`
     5VENDOR ?= `uname -s`
     6VERSION ?= 0.1.2
     7REV ?= `svn info --show-item revision || git rev-list --all | wc -l`
    78
    89all: yuuka
    910
    1011yuuka:
    11         go build ${GOFLAGS}
     12        ${GO} build ${GOFLAGS}
    1213        strip -s yuuka
    1314clean:
     
    1516install:
    1617        install -Dm0755 yuuka ${DESTDIR}${PREFIX}/bin/yuuka
     18        install -Dm0644 yuuka.1 ${DESTDIR}${PREFIX}/man/man1/yuuka.1
    1719uninstall:
    18         rm -f ${DESTDIR}${PREFIX}/bin/yuuka
    19 
     20        rm -f ${DESTDIR}${PREFIX}/bin/yuuka ${DESTDIR}${PREFIX}/man/man1/yuuka.1
Note: See TracChangeset for help on using the changeset viewer.