diff options
author | Squibid <me@zacharyscheiman.com> | 2024-12-19 11:46:19 -0600 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2024-12-19 11:47:40 -0600 |
commit | ec2591c92659cb5e3257195bbe7a9c41ac65d29a (patch) | |
tree | e8519b8aec64536b8559ed7df79b79248fcbc7da /config.mk | |
parent | 8ac77308f47057773ac544ad45c7729dd2908908 (diff) | |
download | XD-1.1.tar.gz XD-1.1.tar.bz2 XD-1.1.zip |
bump version info and add compile info to versionv1.1
Diffstat (limited to '')
-rw-r--r-- | config.mk | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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 |