* [kvm-unit-tests PATCH] make: Add tags target and gitignore the tags file
@ 2021-06-10 11:31 Siddharth Chandrasekaran
2021-06-10 11:44 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Siddharth Chandrasekaran @ 2021-06-10 11:31 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Siddharth Chandrasekaran, Evgeny Iakovlev, Liran Alon,
Ioannis Aslanidis, kvm, Siddharth Chandrasekaran
Add make target to generate ctags tags file and add it to .gitignore.
Signed-off-by: Siddharth Chandrasekaran <sidcha@amazon.de>
---
Makefile | 4 ++++
.gitignore | 1 +
2 files changed, 5 insertions(+)
diff --git a/Makefile b/Makefile
index e0828fe..017e7d8 100644
--- a/Makefile
+++ b/Makefile
@@ -128,3 +128,7 @@ cscope:
find -L $(cscope_dirs) -maxdepth 1 \
-name '*.[chsS]' -exec realpath --relative-base=$(PWD) {} \; | sort -u > ./cscope.files
cscope -bk
+
+.PHONY: tags
+tags:
+ ctags -R
diff --git a/.gitignore b/.gitignore
index 784cb2d..8534fb7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
+tags
.gdbinit
*.a
*.d
--
2.17.1
Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [kvm-unit-tests PATCH] make: Add tags target and gitignore the tags file
2021-06-10 11:31 [kvm-unit-tests PATCH] make: Add tags target and gitignore the tags file Siddharth Chandrasekaran
@ 2021-06-10 11:44 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2021-06-10 11:44 UTC (permalink / raw)
To: Siddharth Chandrasekaran
Cc: Siddharth Chandrasekaran, Evgeny Iakovlev, Liran Alon,
Ioannis Aslanidis, kvm
On 10/06/21 13:31, Siddharth Chandrasekaran wrote:
> Add make target to generate ctags tags file and add it to .gitignore.
>
> Signed-off-by: Siddharth Chandrasekaran <sidcha@amazon.de>
> ---
> Makefile | 4 ++++
> .gitignore | 1 +
> 2 files changed, 5 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index e0828fe..017e7d8 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -128,3 +128,7 @@ cscope:
> find -L $(cscope_dirs) -maxdepth 1 \
> -name '*.[chsS]' -exec realpath --relative-base=$(PWD) {} \; | sort -u > ./cscope.files
> cscope -bk
> +
> +.PHONY: tags
> +tags:
> + ctags -R
> diff --git a/.gitignore b/.gitignore
> index 784cb2d..8534fb7 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -1,3 +1,4 @@
> +tags
> .gdbinit
> *.a
> *.d
>
Queued, thanks.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-10 11:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10 11:31 [kvm-unit-tests PATCH] make: Add tags target and gitignore the tags file Siddharth Chandrasekaran
2021-06-10 11:44 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).