[etags] repair make etags

marc.bessieres at mykolab.com marc.bessieres at mykolab.com
Wed Jun 17 15:58:30 CDT 2015


From: Marc Bessières <marc.bessieres at mykolab.com>

partly revert c360ee0b to solve the below failure:
> make etags
config.status: creating Make.tmp
config.status: executing Makefile commands
rm -f TAGS
(test -d .git && git ls-files || find -L . -name '*.[ch]' -print) |
xargs etags -a --langmap='c:+.idl.l.rh,make:(Make*.in)'
etags: unrecognized option '--langmap=c:+.idl.l.rh,make:(Make*.in)'
        Try `etags --help' for a complete list of options.
etags: unrecognized option '--langmap=c:+.idl.l.rh,make:(Make*.in)'
        Try `etags --help' for a complete list of options.
Makefile:214: recipe for target 'etags' failed
make: *** [etags] Error 123
>
---
 Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index b600cf7..86ca50d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -68,7 +68,7 @@ TAGSFLAGS = --langmap='c:+.idl.l.rh,make:(Make*.in)'
 
 TAGS etags:
 	$(RM) TAGS
-	(test -d .git && git ls-files || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a $(TAGSFLAGS)
+	(test -d .git && git ls-files '*.[chly]' '*.idl' || find -L $(top_srcdir) -name '*.[ch]' -print) | xargs etags -a
 
 tags ctags:
 	$(RM) tags
-- 
2.1.4




More information about the wine-patches mailing list