mirror of https://github.com/Hilbis/Hilbish
build: build-dev -> dev, add hilbiline
parent
e0851809ab
commit
03eefdc02e
7
Makefile
7
Makefile
|
@ -6,8 +6,11 @@ LIBDIR ?= $(PREFIX)/share/hilbish
|
||||||
build:
|
build:
|
||||||
@go build
|
@go build
|
||||||
|
|
||||||
build-dev:
|
dev:
|
||||||
@go build -ldflags "-X main.version=$(git describe --tags)"
|
@go build -ldflags "-X main.version=$(shell git describe --tags)"
|
||||||
|
|
||||||
|
hilbiline:
|
||||||
|
@go build -ldflags "-X main.version=$(shell git describe --tags)+hilbiline" -tags hilbiline
|
||||||
|
|
||||||
install:
|
install:
|
||||||
@install -v -d "$(DESTDIR)$(BINDIR)/" && install -m 0755 -v hilbish "$(DESTDIR)$(BINDIR)/hilbish"
|
@install -v -d "$(DESTDIR)$(BINDIR)/" && install -m 0755 -v hilbish "$(DESTDIR)$(BINDIR)/hilbish"
|
||||||
|
|
Loading…
Reference in New Issue