Module: check_mk
Branch: master
Commit: e0e94c53725440819acf6937cddea4fed3a2a9c9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e0e94c53725440…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Feb 3 14:22:02 2017 +0100
Build cmc tar file for dist target, too.
Change-Id: Ie0a4a707a24cd4203a9bb3b5ccb98184d818ea28
---
.gitignore | 1 +
Makefile | 3 +++
2 files changed, 4 insertions(+)
diff --git a/.gitignore b/.gitignore
index 04f1bd9..9332ce5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,6 +21,7 @@ autom4te.cache/
check_mk-*.spec
check_mk-*.tar.gz
clang-analyzer/
+cmc-*.tar.gz
compile
compile_commands.json
config.guess
diff --git a/Makefile b/Makefile
index 2668640..89a02ae 100644
--- a/Makefile
+++ b/Makefile
@@ -174,6 +174,9 @@ dist: mk-livestatus precompile-werks
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 .werks *)
+
@echo
"=============================================================================="
@echo " FINISHED. "
@echo
"=============================================================================="