Module: check_mk
Branch: master
Commit: 35f6671b3ac7545c0651bc628a448ca546cd6db2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=35f6671b3ac754…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue Feb 19 15:20:04 2019 +0100
Don't build OHM when only config.status is needed.
Change-Id: I47f44a730924a883f85d921e9e534fde95229040
---
Makefile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 3f055f0..4c40074 100644
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,10 @@ export BEAR := bear
M4_DEPS := $(wildcard m4/*) configure.ac
CONFIGURE_DEPS := $(M4_DEPS) aclocal.m4
-DIST_DEPS := ar-lib compile config.guess config.sub install-sh missing depcomp
configure omd/packages/openhardwaremonitor/OpenHardwareMonitorCLI.exe
omd/packages/openhardwaremonitor/OpenHardwareMonitorLib.dll
+CONFIG_DEPS := ar-lib compile config.guess config.sub install-sh missing depcomp
configure
+DIST_DEPS := $(CONFIG_DEPS) \
+ omd/packages/openhardwaremonitor/OpenHardwareMonitorCLI.exe \
+ omd/packages/openhardwaremonitor/OpenHardwareMonitorLib.dll
LIVESTATUS_SOURCES := Makefile.am api/c++/{Makefile,*.{h,cc}} api/perl/* \
@@ -385,7 +388,7 @@ ar-lib compile config.guess config.sub install-sh missing depcomp:
configure.ac
touch ar-lib compile config.guess config.sub install-sh missing depcomp
# TODO(sp): We should really detect and use our own packages in a less hacky way...
-config.status: $(DIST_DEPS)
+config.status: $(CONFIG_DEPS)
@echo "Build $@ (newer targets: $?)"
@if test -f config.status; then \
echo "update config.status by reconfiguring in the same conditions" ; \