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

[Xen-changelog] [xen-unstable] Add gtags target for xen/Makefile. Also update .hgignore.



# HG changeset patch
# User Wei Liu <wei.liu2@xxxxxxxxxx>
# Date 1331105292 0
# Node ID 031e696b03d75320dab652a9ec50ef2d91b5a5d0
# Parent  e88a4995121200850e153b7f8554dbbd091482ce
Add gtags target for xen/Makefile. Also update .hgignore.

Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r e88a49951212 -r 031e696b03d7 .hgignore
--- a/.hgignore Tue Mar 06 16:43:01 2012 +0100
+++ b/.hgignore Wed Mar 07 07:28:12 2012 +0000
@@ -23,6 +23,7 @@
 ^\.config$
 ^\.pc
 (^|/)(tags|TAGS)$
+(^|/)(GTAGS|GPATH|GSYMS|GRTAGS)$
 ^build-.*$
 ^dist/.*$
 ^docs/.*\.aux$
diff -r e88a49951212 -r 031e696b03d7 xen/Makefile
--- a/xen/Makefile      Tue Mar 06 16:43:01 2012 +0100
+++ b/xen/Makefile      Wed Mar 07 07:28:12 2012 +0000
@@ -20,8 +20,8 @@
 .PHONY: dist
 dist: install
 
-.PHONY: build install clean distclean cscope TAGS tags MAP
-build install debug clean distclean cscope TAGS tags MAP::
+.PHONY: build install clean distclean cscope TAGS tags MAP gtags
+build install debug clean distclean cscope TAGS tags MAP gtags::
        $(MAKE) -f Rules.mk _$@
 
 .PHONY: _build
@@ -67,7 +67,7 @@
 
 .PHONY: _distclean
 _distclean: clean
-       rm -f tags TAGS cscope.files cscope.in.out cscope.out cscope.po.out
+       rm -f tags TAGS cscope.files cscope.in.out cscope.out cscope.po.out 
GTAGS GPATH GRTAGS GSYMS
 
 $(TARGET).gz: $(TARGET)
        gzip -f -9 < $< > $@.new
@@ -159,6 +159,11 @@
        $(call set_exuberant_flags,ctags); \
        $(all_sources) | xargs ctags $$exuberant_flags -a
 
+.PHONY: _gtags
+_gtags:
+       set -e; rm -f GTAGS GSYMS GPATH GRTAGS
+       $(all_sources) | gtags -f -
+
 .PHONY: _cscope
 _cscope:
        $(all_sources) > cscope.files

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.