Makefile: More portable invocation of ctags/etags.

This commit is contained in:
Alexandre Julliard 2007-03-27 21:45:54 +02:00
parent df651875ad
commit 7b289821b1
1 changed files with 4 additions and 2 deletions

View File

@ -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) $@