From 73ab437fc934911a1a02a4932b192b364e1dc390 Mon Sep 17 00:00:00 2001 From: Johannes Bauer Date: Sat, 19 Oct 2019 15:06:39 +0200 Subject: [PATCH] Include tags in released version number We want the displayed version number to contain tags, so add it to the Makefile option. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 34f6d11..0099f9c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .PHONY: all clean test testclient derive install 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/ 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