Module: check_mk
Branch: master
Commit: 7b813141b1267c70338a2dae835c43aab01f2832
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7b813141b1267c…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Mar 30 13:53:39 2016 +0200
Fixed broken "make mk-livestatus" in some cases
---
Makefile | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 7a943d5..176626a 100644
--- a/Makefile
+++ b/Makefile
@@ -157,9 +157,13 @@ mk-eventd:
-zf mkeventd-$(VERSION).tar.gz mkeventd
mk-livestatus:
- if [ ! -e livestatus/configure ] ; then \
- cd livestatus && autoreconf --install ; \
- fi
+ cd livestatus ; \
+ for i in aclocal.m4 ar-lib compile config.h.in configure depcomp install-sh Makefile.in
missing; do \
+ if test ! -f $i; then \
+ autoreconf --install ; \
+ break ; \
+ fi \
+ done
rm -rf mk-livestatus-$(VERSION)
mkdir -p mk-livestatus-$(VERSION)
cd livestatus ; tar cf - $(LIVESTATUS_SOURCES) | tar xf - -C
../mk-livestatus-$(VERSION)