From 7b289821b11fd3204a616e7af1e0ef778bf8a6d3 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 27 Mar 2007 21:45:54 +0200 Subject: [PATCH] Makefile: More portable invocation of ctags/etags. --- Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 7b3f8e08fe3..923a33edbc2 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) $@