Read in version from git tag

This commit is contained in:
наб 2020-12-04 18:24:00 +01:00
parent 49e22c820e
commit d35436b24a
No known key found for this signature in database
GPG Key ID: BCFD0B018D2658F1

View File

@ -46,8 +46,7 @@ else
LNCXXAR :=
endif
# TZPFMS_VERSION := "$(patsubst v%,%,$(shell git describe))"
TZPFMS_VERSION := "0.0.0-$(shell git rev-list HEAD --count)"
TZPFMS_VERSION := "$(patsubst v%,%,$(shell git describe))"
INCCMAKEAR := CXXFLAGS="$(INCCXXAR)"
LNCMAKEAR := LDFLAGS="$(LNCXXAR)"