bump version info and add compile info to version
This commit is contained in:
parent
8ac77308f4
commit
ec2591c926
3 changed files with 22 additions and 4 deletions
12
config.mk
12
config.mk
|
|
@ -1,4 +1,4 @@
|
|||
VERSION = 1.0
|
||||
VERSION = 1.1
|
||||
|
||||
PKG_CONFIG = pkg-config
|
||||
|
||||
|
|
@ -16,4 +16,14 @@ ERR =
|
|||
# uncomment to enable errors
|
||||
# ERR = -DERR
|
||||
|
||||
# add compilation details to VERSION variable
|
||||
ifneq ($(GIT),)
|
||||
VERSION := $(VERSION)"\\nlibgit2 "`$(PKG_CONFIG) --modversion $(GITLIB)`
|
||||
endif
|
||||
ifeq ($(ERR),)
|
||||
VERSION := $(VERSION)"\\nerrors disabled"
|
||||
else
|
||||
VERSION := $(VERSION)"\\nerrors enabled"
|
||||
endif
|
||||
|
||||
CC = cc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue