summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-06-19 16:33:39 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-19 18:56:53 +0200
commite43b745f2156c31c3101b39c327911c16c431c2f (patch)
tree7afeb1b979d99fb2d295a47c94debbaa8d0eaeac /wscript
parent6c74d960bc790bae0c58513594aa47af8ef8e615 (diff)
downloadsamba-e43b745f2156c31c3101b39c327911c16c431c2f.tar.gz
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 <metze@samba.org> Autobuild-Date(master): Tue Jun 19 18:56:53 CEST 2012 on sn-devel-104
Diffstat (limited to 'wscript')
-rwxr-xr-xwscript2
1 files changed, 1 insertions, 1 deletions
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)