Module: check_mk
Branch: master
Commit: 58e920562ff9d3c0b90cdd01baa865813b64cc10
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=58e920562ff9d3…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Apr 4 08:10:31 2016 +0200
Added GTAGS convenience target to top-level Makefile.
---
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index e0e0a9e..4956bb5 100644
--- a/Makefile
+++ b/Makefile
@@ -70,7 +70,7 @@ FILES_TO_FORMAT := $(wildcard $(addprefix agents/,*.cc *.c *.h)) \
$(wildcard $(addprefix bin/,*.cc *.c *.h))
.PHONY: all analyze check check-binaries check-permissions check-spaces \
- check-version clean cppcheck dist documentation format headers \
+ check-version clean cppcheck dist documentation format GTAGS headers \
healspaces help iwyu minify-js mk-livestatus mrproper \
optimize-images packages setup setversion tidy version
@@ -267,6 +267,10 @@ mrproper:
setup:
sudo apt-get install figlet pngcrush slimit bear dietlibc-dev
+GTAGS:
+ $(MAKE) -C livestatus distclean-tags
+ $(MAKE) -C livestatus GTAGS
+
compile_commands.json: $(FILES_TO_FORMAT)
$(MAKE) -C livestatus clean
$(BEAR) $(MAKE) -C livestatus -j8