Include tags in released version number

We want the displayed version number to contain tags, so add it to the
Makefile option.
This commit is contained in:
Johannes Bauer 2019-10-19 15:06:39 +02:00
parent f824198abd
commit 73ab437fc9

View File

@ -1,7 +1,7 @@
.PHONY: all clean test testclient derive install .PHONY: all clean test testclient derive install
all: luksrku luksrku-config all: luksrku luksrku-config
BUILD_REVISION := $(shell git describe --abbrev=10 --dirty --always) BUILD_REVISION := $(shell git describe --abbrev=10 --dirty --always --tags)
INSTALL_PREFIX := /usr/local/ INSTALL_PREFIX := /usr/local/
CFLAGS := -Wall -Wextra -Wshadow -Wswitch -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=format -Wno-unused-parameter CFLAGS := -Wall -Wextra -Wshadow -Wswitch -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Werror=implicit-function-declaration -Werror=format -Wno-unused-parameter
#CFLAGS := -Wall -Wextra -O2 -Wmissing-prototypes -Wstrict-prototypes #CFLAGS := -Wall -Wextra -O2 -Wmissing-prototypes -Wstrict-prototypes