From e43b745f2156c31c3101b39c327911c16c431c2f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 19 Jun 2012 16:33:39 +0200 Subject: waf: Fix make etags vlendec@host:~/git/s3> make etags WAF_MAKE=1 ./buildtools/bin/waf etags Running: etags $(find /home/vlendec/git/s3 -name "*.[ch]" | egrep -v \.inst\.) sh: /usr/bin/etags: Argument list too long 'etags' finished successfully (0.368s) Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Tue Jun 19 18:56:53 CEST 2012 on sn-devel-104 --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index bceace1346d..9caa673feda 100755 --- a/wscript +++ b/wscript @@ -173,7 +173,7 @@ def etags(ctx): '''build TAGS file using etags''' import Utils source_root = os.path.dirname(Utils.g_module.root_path) - cmd = 'etags $(find %s -name "*.[ch]" | egrep -v \.inst\.)' % source_root + cmd = 'rm -f %s/TAGS && (find %s -name "*.[ch]" | egrep -v \.inst\. | xargs -n 100 etags -a)' % (source_root, source_root) print("Running: %s" % cmd) os.system(cmd) -- cgit v1.2.1