Module: check_mk
Branch: master
Commit: 6e92b3cbdf32d0929a6972604a30eccf1cd4c28f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6e92b3cbdf32d0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Feb 21 17:36:17 2017 +0100
CME: Moved precompiled werks file to managed directory in dist tar
Change-Id: Id9a4ce89c5d1b4b84d461eacce486a1f082f814f
---
Makefile | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index 055f50d..56e266f 100644
--- a/Makefile
+++ b/Makefile
@@ -315,22 +315,20 @@ install:
endif
ifeq ($(MANAGED),yes)
+managed/werks: $(WERKS)
+ PYTHONPATH=. python scripts/precompile-werks.py .werks managed/werks cme
-.werks/cme-werks: $(WERKS)
- PYTHONPATH=. python scripts/precompile-werks.py .werks .werks/cme-werks cme
-
-managed/ChangeLog: .werks/cme-werks
- PYTHONPATH=. python scripts/create-changelog.py managed/ChangeLog .werks/cme-werks
+managed/ChangeLog: managed/werks
+ PYTHONPATH=. python scripts/create-changelog.py managed/ChangeLog managed/werks
dist: cme-$(VERSION).tar.gz
-cme-$(VERSION).tar.gz: .werks/cme-werks managed/ChangeLog
+cme-$(VERSION).tar.gz: managed/werks managed/ChangeLog
rm -rf cme-$(VERSION)
mkdir cme-$(VERSION)
cp -pr managed cme-$(VERSION)/managed
mv cme-$(VERSION)/managed/ChangeLog cme-$(VERSION)/ChangeLog-cme
mv cme-$(VERSION)/managed/Makefile.omd cme-$(VERSION)/Makefile
- cp .werks/cme-werks cme-$(VERSION)/werks
cd cme-$(VERSION) \
&& tar czf ../cme-$(VERSION).tar.gz $(TAROPTS) *