Module: check_mk
Branch: master
Commit: 91e7512900e32e978496befa15dde2329f36a61b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=91e7512900e32e…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Feb 6 10:40:35 2017 +0100
Put cmc tar into check_mk tar.
Change-Id: Ia01774de12c303d178eef028cd4ac2090ac17a1a
---
Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 91296ff..e58f9ab 100644
--- a/Makefile
+++ b/Makefile
@@ -162,15 +162,17 @@ dist: mk-livestatus precompile-werks
--exclude "crash.exe" \
--exclude "openhardwaremonitor" \
--exclude .f12 $$(cd agents ; ls)
+
+ test -d enterprise && tar czf $(DISTNAME)/cmc-$(VERSION).tar.gz $(TAROPTS) -C
enterprise $$(cd enterprise && echo .bugs *)
+
cd $(DISTNAME) ; ../scripts/make_package_info $(VERSION) > package_info
install -m 755 scripts/*.{sh,py} $(DISTNAME)
install -m 644 COPYING AUTHORS ChangeLog $(DISTNAME)
echo "$(VERSION)" > $(DISTNAME)/VERSION
+
tar czf $(DISTNAME).tar.gz $(TAROPTS) $(DISTNAME)
rm -rf $(DISTNAME)
- test -d enterprise && tar czf cmc-$(VERSION).tar.gz $(TAROPTS) -C enterprise
$$(cd enterprise && echo .bugs *)
-
@echo
"=============================================================================="
@echo " FINISHED. "
@echo
"=============================================================================="