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:
parent
f824198abd
commit
73ab437fc9
2
Makefile
2
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user