1
0

Make use of VERSION var in Makefile.

This commit is contained in:
Alexander Andreev 2023-05-02 17:38:10 +04:00
parent d1253242d4
commit 1517060296
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -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