mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Use git describe for BIRD version
Based on patch from Pavel Tvrdik
This commit is contained in:
@@ -21,6 +21,11 @@ INSTALL=@INSTALL@
|
||||
INSTALL_PROGRAM=@INSTALL_PROGRAM@
|
||||
INSTALL_DATA=@INSTALL_DATA@
|
||||
|
||||
git-label:=$(strip $(shell git describe --always --dirty=-x 2>/dev/null))
|
||||
ifneq ($(git-label),)
|
||||
CFLAGS += -DGIT_LABEL="$(git-label)"
|
||||
endif
|
||||
|
||||
client=$(addprefix $(exedir)/,@CLIENT@)
|
||||
daemon=$(exedir)/bird
|
||||
protocols=@protocols@
|
||||
|
Reference in New Issue
Block a user