Alexandre Julliard : Makefile: More portable invocation of ctags/etags.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Mar 28 06:41:42 CDT 2007


Module: wine
Branch: master
Commit: 7b289821b11fd3204a616e7af1e0ef778bf8a6d3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7b289821b11fd3204a616e7af1e0ef778bf8a6d3

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Mar 27 21:45:54 2007 +0200

Makefile: More portable invocation of ctags/etags.

---

 Makefile.in |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 7b3f8e0..923a33e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -132,10 +132,12 @@ $(TESTSUBDIRS:%=%/__crosstest__): tools include
 # Misc rules
 
 TAGS etags:
-	(test -d .git && git-ls-files '*.[chly]' '*.idl' || find -L $(TOPSRCDIR) -name '*.[ch]' -print) | etags -
+	$(RM) TAGS
+	(test -d .git && git-ls-files '*.[chly]' '*.idl' || find -L $(TOPSRCDIR) -name '*.[ch]' -print) | xargs etags -a
 
 tags ctags:
-	(test -d .git && git-ls-files '*.[chly]' '*.idl' || find -L $(TOPSRCDIR) -name '*.[ch]' -print) | ctags -
+	$(RM) tags
+	(test -d .git && git-ls-files '*.[chly]' '*.idl' || find -L $(TOPSRCDIR) -name '*.[ch]' -print) | xargs ctags -a
 
 manpages htmlpages sgmlpages: dummy
 	@cd documentation && $(MAKE) $@




More information about the wine-cvs mailing list