Module: check_mk
Branch: master
Commit: ebd6e547fea01ee4c2a5f40fdc027fbf970263fb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ebd6e547fea01e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Dec 11 15:20:02 2014 +0100
Fixed agent build process
---
Makefile | 1 +
agents/Makefile | 1 +
2 files changed, 2 insertions(+)
diff --git a/Makefile b/Makefile
index baadd20..ea72c82 100644
--- a/Makefile
+++ b/Makefile
@@ -98,6 +98,7 @@ dist: mk-livestatus mk-eventd
cp multisite.mk multisite.mk-$(VERSION)
tar czf $(DISTNAME)/conf.tar.gz $(TAROPTS) main.mk-$(VERSION) multisite.mk-$(VERSION)
rm -f main.mk-$(VERSION) multisite.mk-$(VERSION)
+ $(MAKE) -C agents packages
tar czf $(DISTNAME)/agents.tar.gz $(TAROPTS) -C agents \
--exclude "msibuild" \
--exclude "build_version" \
diff --git a/agents/Makefile b/agents/Makefile
index 39a863c..1aef6d3 100644
--- a/agents/Makefile
+++ b/agents/Makefile
@@ -58,6 +58,7 @@ setversion:
sed -i 's/echo Version: [0-9.a-z]*/'"echo Version:
$(NEW_VERSION)/g" $$agent; \
fi ; \
done ; \
+ $(MAKE) packages
$(MAKE) -C windows NEW_VERSION=$(NEW_VERSION) setversion
packages: rpm deb