Module: check_mk
Branch: master
Commit: 1e310bc0708fea3d546e0199def4a40131534a62
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1e310bc0708fea…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Feb 2 16:11:22 2017 +0100
Fixed setversion target.
Change-Id: I148289a07d78b9b688cdc3a402c11037721a5f94
---
Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Makefile b/Makefile
index 9fd4e5e..33496c8 100644
--- a/Makefile
+++ b/Makefile
@@ -217,6 +217,11 @@ setversion:
sed -i 's/^VERSION=.*/VERSION='"$(NEW_VERSION)"'/'
scripts/setup.sh ; \
echo 'check-mk_$(NEW_VERSION)-1_all.deb net optional' > debian/files
$(MAKE) -C agents NEW_VERSION=$(NEW_VERSION) setversion
+ifeq ($(ENTERPRISE),yes)
+ sed -i 's/^VERSION=".*/VERSION="$(NEW_VERSION)"/'
enterprise/bin/liveproxyd
+ sed -i 's/^VERSION=".*/VERSION="$(NEW_VERSION)"/'
enterprise/bin/cmcdump
+ sed -i 's/^__version__ = ".*/__version__ = "$(NEW_VERSION)"/'
enterprise/agents/plugins/cmk-update-agent
+endif
headers:
doc/helpers/headrify