Make use of VERSION var in Makefile.
This commit is contained in:
parent
d1253242d4
commit
1517060296
4
Makefile
4
Makefile
@ -6,8 +6,10 @@ SYSDDIR:=${SYSDDIR_:/%=%}
|
|||||||
DESTDIR:=
|
DESTDIR:=
|
||||||
PREFIX:=/usr/local
|
PREFIX:=/usr/local
|
||||||
|
|
||||||
|
VERSION=23.17.0
|
||||||
|
|
||||||
FLAGS:=-modcacherw -trimpath
|
FLAGS:=-modcacherw -trimpath
|
||||||
LDFLAGS:= -ldflags "-s -w -X main.version=23.10.1" -tags osusergo,netgo
|
LDFLAGS:= -ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo
|
||||||
|
|
||||||
all: ${TARGET}
|
all: ${TARGET}
|
||||||
.PHONY: ${TARGET} install uninstall install-jade run
|
.PHONY: ${TARGET} install uninstall install-jade run
|
||||||
|
Loading…
Reference in New Issue
Block a user