Module: check_mk
Branch: master
Commit: 125100a0b9668c5eb411c9856acfe2886b27b411
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=125100a0b9668c…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Wed Oct 18 14:06:35 2017 +0200
Added compile-neb-cmc target for Jenkins. Improved config.status target.
Change-Id: I03db5e52fe835061d58de3ad3bcc22d26aa189a6
---
Makefile | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 63d0ab9..ac44566 100644
--- a/Makefile
+++ b/Makefile
@@ -140,7 +140,7 @@ PNG_FILES := $(wildcard $(addsuffix /*.png,web/htdocs/images
web/htdocs
.PHONY: all analyze build check check-binaries check-permissions check-spaces \
- check-version clean cppcheck dist documentation format \
+ check-version clean compile-neb-cmc cppcheck dist documentation format \
GTAGS headers healspaces help install iwyu mrproper \
optimize-images packages setup setversion tidy version \
am--refresh skel
@@ -408,7 +408,8 @@ linesofcode:
@wc -l $$(find -type f -name "*.py" -o -name "*.js" -o -name
"*.cc" -o -name "*.h" -o -name "*.css" | grep -v
openhardwaremonitor | grep -v jquery | grep -v livestatus/src ) | sort -n
ar-lib compile config.guess config.sub install-sh missing depcomp: configure.ac
- autoreconf --install --include=m4
+ autoreconf --install --include=m4
+ touch ar-lib compile config.guess config.sub install-sh missing depcomp
config.status: $(DIST_DEPS)
@echo "Build $@ (newer targets: $?)"
@@ -469,6 +470,12 @@ ifeq ($(ENTERPRISE),yes)
$(BEAR) --append $(MAKE) -C enterprise/core -j4
endif
+compile-neb-cmc: config.status
+ $(MAKE) -C livestatus -j4
+ifeq ($(ENTERPRISE),yes)
+ $(MAKE) -C enterprise/core -j4
+endif
+
tidy: compile_commands.json
@scripts/compiled_sources | xargs $(CLANG_TIDY) --extra-arg=-D__clang_analyzer__