Alexandre Julliard : makefiles: Build tags from all the source files.

Alexandre Julliard julliard at winehq.org
Tue Nov 22 13:06:45 CST 2011


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Nov 22 18:20:05 2011 +0100

makefiles: Build tags from all the source files.

---

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

diff --git a/Makefile.in b/Makefile.in
index 723bd82..72161fc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -84,10 +84,12 @@ $(MAKEDEP): include/config.h
 
 # Misc rules
 
+TAGSFLAGS = --langmap='c:+.idl.l.rh,make:(Make*.in)'
+
 TAGS etags:
 	$(RM) TAGS
-	(test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a
+	(test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a $(TAGSFLAGS)
 
 tags ctags:
 	$(RM) tags
-	(test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs ctags -a
+	(test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs ctags -a $(TAGSFLAGS)




More information about the wine-cvs mailing list