and tags. Prior to this the asm directory was not constructed correctly
for the "find" command. "xen\cscope.*" has been added to ".hgignore".
Signed-off-by: Aravindh Puthiyaparambil
<aravindh.puthiyaparambil@unisys.com>
^tools/xm-test/ramdisk/buildroot
^xen/BLOG$
^xen/TAGS$
+^xen/cscope\.*$
^xen/arch/x86/asm-offsets\.s$
^xen/arch/x86/boot/mkelf32$
^xen/arch/x86/xen\.lds$
find $(SUBDIRS) -name SCCS -prune -o -name '*.[chS]' -print )
endef
-.PHONY: TAGS
-TAGS:
+.PHONY: cscope TAGS tags
+cscope TAGS tags:
+ make -f $(BASEDIR)/Rules.mk _$@
+
+.PHONY: _TAGS
+_TAGS:
$(all_sources) | etags -
-.PHONY: tags
-tags:
+.PHONY: _tags
+_tags:
$(all_sources) | xargs ctags
-.PHONY: cscope
-cscope:
+.PHONY: _cscope
+_cscope:
$(all_sources) > cscope.files
cscope -k -b -q