Skip to contentSkip to conversation

[PATCH} automation of cscope tag file

Qemu-devel Mulyadi Santosa 1 participant 1 message Jul 15, 2005 Kbuild

lore
Share & tools
lore
#0 lore raw

hello everyone

Here is a small patch to be applied for qemu 0.7.0. The patch adds a functionality to automatically generate cscope tag file. It assumes that cscope has been installed properly and is included on PATH

regards

Mulyadi

Makefile renamed from Makefile.orig +5 -0
@@ -127,6 +127,11 @@
 	$(docdir)/qemu-tech.html \
 	$(mandir)/man1/qemu.1 $(mandir)/man1/qemu-img.1 )
 
+cscope:
+	rm -f ./cscope.*
+	find . -name "*.[ch]" -print > ./cscope.files
+	cscope -b
+		 
 ifneq ($(wildcard .depend),)
 include .depend
 endif