Module: check_mk
Branch: master
Commit: 01d61d4d094b222a6194600975286377616c6e74
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=01d61d4d094b22…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Feb 1 18:00:49 2017 +0100
Moved compiled_sources helper script to subdirectory scripts
Change-Id: Ifef0e823002b208cd2a091dad439f2ee1dde8c97
---
Makefile | 6 +++---
compiled_sources => scripts/compiled_sources | 0
make_package_info => scripts/make_package_info | 0
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 24d55d5..1932b8f 100644
--- a/Makefile
+++ b/Makefile
@@ -157,7 +157,7 @@ dist: mk-livestatus precompile-werks
--exclude "crash.exe" \
--exclude "openhardwaremonitor" \
--exclude .f12 $$(cd agents ; ls)
- cd $(DISTNAME) ; ../make_package_info $(VERSION) > package_info
+ cd $(DISTNAME) ; ../scripts/make_package_info $(VERSION) > package_info
install -m 755 scripts/*.{sh,py} $(DISTNAME)
install -m 644 COPYING AUTHORS ChangeLog $(DISTNAME)
echo "$(VERSION)" > $(DISTNAME)/VERSION
@@ -331,7 +331,7 @@ compile_commands.json: config.h $(FILES_TO_FORMAT)
$(BEAR) $(MAKE) -C livestatus -j8
tidy: compile_commands.json
- @./compiled_sources | xargs $(CLANG_TIDY) --extra-arg=-D__clang_analyzer__
+ @scripts/compiled_sources | xargs $(CLANG_TIDY) --extra-arg=-D__clang_analyzer__
# Not really perfect rules, but better than nothing
iwyu: compile_commands.json
@@ -347,7 +347,7 @@ analyze: config.h
# GCC-like output on stderr intended for human consumption.
cppcheck: compile_commands.json
- @./compiled_sources | \
+ @scripts/compiled_sources | \
sed 's/^"\(.*\)"$$/\1/' | \
$(CPPCHECK) --max-configs=16 -UCMC --enable=all --suppress=missingIncludeSystem
--inline-suppr -I livestatus/src -I livestatus --file-list=- --quiet --template=gcc
diff --git a/compiled_sources b/scripts/compiled_sources
similarity index 100%
rename from compiled_sources
rename to scripts/compiled_sources
diff --git a/make_package_info b/scripts/make_package_info
similarity index 100%
rename from make_package_info
rename to scripts/make_package_info