qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[kvm-unit-tests PATCH v10 1/7] Makefile: add GNU global tags support


From: Alex Bennée
Subject: [kvm-unit-tests PATCH v10 1/7] Makefile: add GNU global tags support
Date: Tue, 7 Mar 2023 11:28:39 +0000

If you have ctags you might as well offer gtags as a target.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20211118184650.661575-4-alex.bennee@linaro.org>

---
v10
  - update .gitignore
---
 Makefile   | 5 ++++-
 .gitignore | 3 +++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 6ed5deac..f22179de 100644
--- a/Makefile
+++ b/Makefile
@@ -145,6 +145,9 @@ cscope:
                -name '*.[chsS]' -exec realpath --relative-base=$(CURDIR) {} \; 
| sort -u > ./cscope.files
        cscope -bk
 
-.PHONY: tags
+.PHONY: tags gtags
 tags:
        ctags -R
+
+gtags:
+       gtags
diff --git a/.gitignore b/.gitignore
index 33529b65..4d5f460f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,6 +12,9 @@ tags
 patches
 .stgit-*
 cscope.*
+GPATH
+GRTAGS
+GTAGS
 *.swp
 /lib/asm
 /lib/config.h
-- 
2.39.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]