summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-12 10:38:29 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-12 10:38:29 -0800
commit332c36af9858b6404e31bd81da8a2ffe42f7d29f (patch)
treea0b4b2044a874b9753d38f4fd8c0605f9f6c1e7f /Makefile
parent92720b7d00085f4cd77a59a20095dde7f46048c7 (diff)
Use much more multilingual benchmark source.
Concatenate all languages for progit book.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index c5665e4..870cfb5 100644
--- a/Makefile
+++ b/Makefile
@@ -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 $$$$; \