[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Add gtags target for xen/Makefile. Also update .hgignore.
On Thu, 2012-03-01 at 18:00 +0000, Ian Jackson wrote: > Wei Liu writes ("Re: [Xen-devel] [PATCH] Add gtags target for xen/Makefile. > Also update .hgignore."): > > Add gtags target for xen/Makefile. Also update .hgignore. > > This patch has been wordwrapped I'm afraid. > > Ian. My fault. Here is the correct one. -----8<------ exporting patch: # HG changeset patch # User Wei Liu <wei.liu2@xxxxxxxxxx> # Date 1330627381 0 # Node ID 6d2b5bac876f10ab59d8b98b557bb3a6173399a9 # Parent be6bd7febd33d5dd21cbbeb180e6907cd6038a77 Add gtags target for xen/Makefile. Also update .hgignore. Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> diff --git a/.hgignore b/.hgignore --- a/.hgignore +++ b/.hgignore @@ -23,6 +23,7 @@ ^\.config$ ^\.pc (^|/)(tags|TAGS)$ +(^|/)(GTAGS|GPATH|GSYMS|GRTAGS)$ ^build-.*$ ^dist/.*$ ^docs/.*\.aux$ diff --git a/xen/Makefile b/xen/Makefile --- a/xen/Makefile +++ b/xen/Makefile @@ -20,8 +20,8 @@ default: build .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 @@ _clean: delete-unfresh-files .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 @@ _tags: $(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-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |