Module: check_mk
Branch: master
Commit: cb6e55e9f486db097b4094f6797ab3d236f45b9b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cb6e55e9f486db…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Oct 13 15:27:03 2016 +0200
Packing and installing cmk base modules
---
Makefile | 3 +++
scripts/setup.sh | 1 +
2 files changed, 4 insertions(+)
diff --git a/Makefile b/Makefile
index 037dc34..2ad28da 100644
--- a/Makefile
+++ b/Makefile
@@ -107,6 +107,9 @@ dist: mk-livestatus
tar czf $(DISTNAME)/lib.tar.gz $(TAROPTS) -C lib \
--transform 's|^|cmk/|g' $$(cd lib ; ls) ; \
rm lib/*.pyc
+ pycompile cmk_base ; \
+ tar czf $(DISTNAME)/base.tar.gz $(TAROPTS) cmk_base/*.py* ; \
+ rm cmk_base/*.pyc
tar czf $(DISTNAME)/share.tar.gz $(TAROPTS) check_mk_templates.cfg
tar czf $(DISTNAME)/werks.tar.gz $(TAROPTS) -C .werks $$(cd .werks ; ls [0-9]*)
tar czf $(DISTNAME)/checks.tar.gz $(TAROPTS) -C checks $$(cd checks ; ls)
diff --git a/scripts/setup.sh b/scripts/setup.sh
index 067ad70..04237f3 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -742,6 +742,7 @@ do
tar xzf $SRCDIR/share.tar.gz -C $DESTDIR$sharedir &&
mkdir -p $DESTDIR$python_lib_dir &&
tar xzf $SRCDIR/lib.tar.gz -C $DESTDIR$python_lib_dir &&
+ tar xzf $SRCDIR/base.tar.gz -C $DESTDIR$python_lib_dir &&
mkdir -p $DESTDIR$sharedir/werks &&
tar xzf $SRCDIR/werks.tar.gz -C $DESTDIR$sharedir/werks &&
mkdir -p $DESTDIR$modulesdir &&