mirror of
https://github.com/sonertari/SSLproxy
synced 2024-11-02 15:40:19 +00:00
parent
c28ca34fe1
commit
dd0d3238ca
@ -156,6 +156,7 @@ PKGCONFIG?= pkg-config
|
||||
|
||||
BASENAME?= basename
|
||||
CAT?= cat
|
||||
CUT?= cut
|
||||
GREP?= grep
|
||||
INSTALL?= install
|
||||
MKDIR?= mkdir
|
||||
@ -201,7 +202,9 @@ ifndef GITDIR
|
||||
VERSION:= $(shell $(BASENAME) $(PWD)|\
|
||||
$(GREP) $(TARGET)-|\
|
||||
$(SED) 's/.*$(TARGET)-\(.*\)/\1/g')
|
||||
BUILD_INFO+= V:DIR
|
||||
NEWSSHA:= $(shell $(OPENSSL) dgst -sha1 -r NEWS.md |\
|
||||
$(CUT) -c -7)
|
||||
BUILD_INFO+= V:DIR N:$(NEWSSHA)
|
||||
else
|
||||
VERSION:= $(shell $(GIT) describe --tags --dirty --always)
|
||||
BUILD_INFO+= V:GIT
|
||||
|
Loading…
Reference in New Issue
Block a user