[kvm-unit-tests PATCH] make: Add tags target and gitignore the tags file

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

 



Add make target to generate ctags tags file and add it to .gitignore.

Signed-off-by: Siddharth Chandrasekaran <sidcha@xxxxxxxxx>
---
 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






[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux