makefile: Use git-ls-files if possible to build tags files.

This commit is contained in:
Alexandre Julliard 2007-01-26 13:53:35 +01:00
parent 9b28bd0a3d
commit 7f9f78aecd
1 changed files with 2 additions and 2 deletions

View File

@ -132,10 +132,10 @@ $(TESTSUBDIRS:%=%/__crosstest__): tools include
# Misc rules
TAGS etags:
find -L $(TOPSRCDIR) -name '*.[ch]' -print | etags -
(test -d .git && git-ls-files '*.[chly]' '*.idl' || find -L $(TOPSRCDIR) -name '*.[ch]' -print) | etags -
tags ctags:
find -L $(TOPSRCDIR) -name '*.[ch]' -print | ctags --c-types=+px -L -
(test -d .git && git-ls-files '*.[chly]' '*.idl' || find -L $(TOPSRCDIR) -name '*.[ch]' -print) | ctags -
manpages htmlpages sgmlpages: dummy
@cd documentation && $(MAKE) $@