Mercurial > yakumo_izuru > aya
view Makefile @ 61:e8f54da51137 draft
Be more verbose with servePubDir(), add an additional markdown file
extension, granted it's rare for someone to use it...
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author | yakumo.izuru |
---|---|
date | Wed, 26 Apr 2023 12:40:20 +0000 |
parents | 315dee06253e |
children | 787b5ee0289d |
line wrap: on
line source
destdir ?= goflags ?= -v -ldflags "-w -X `go list`.Version=$(version) -X `go list`.Commit=$(commit)" -tags "static_build" prefix ?= /usr/local version ?= `git describe --abbrev=0 --tags || echo "$version"` commit ?= `git rev-parse --short HEAD || echo "$commit"` build: go build ${goflags} ./cmd/aya clean: rm -f aya install: install -Dm0755 aya ${destdir}${prefix}/bin/aya install -Dm0644 aya.1 ${destdir}${prefix}/share/man/man1/aya.1 uninstall: rm -f ${prefix}/bin/aya rm -f ${prefix}/share/man/man1/aya.1