diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-12 10:38:29 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-12 10:38:29 -0800 |
commit | 332c36af9858b6404e31bd81da8a2ffe42f7d29f (patch) | |
tree | a0b4b2044a874b9753d38f4fd8c0605f9f6c1e7f /Makefile | |
parent | 92720b7d00085f4cd77a59a20095dde7f46048c7 (diff) |
Use much more multilingual benchmark source.
Concatenate all languages for progit book.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -133,15 +133,14 @@ fuzztest: /usr/bin/env time -p $(PROG) >/dev/null && rm fuzz-$$i.txt ; \ done } 2>&1 | grep 'user\|abnormally' -# for benchmarking -$(BENCHFILE): progit/progit.md - -rm $@; for x in `seq 1 20` ; do cat $< >> $@; done - progit: git clone https://github.com/progit/progit.git -progit/progit.md: progit - cat progit/en/*/*.markdown > $@ +$(BENCHFILE): progit + echo "" > $@ + for lang in ar az be ca cs de en eo es es-ni fa fi fr hi hu id it ja ko mk nl no-nb pl pt-br ro ru sr th tr uk vi zh zh-tw; do \ + cat progit/$$lang/*/*.markdown >> $@; \ + done bench: $(BENCHFILE) { sudo renice 99 $$$$; \ |