git.iko.soy/typeable/pandoc
on master help sign in
Makefile: exit smoothly if no prior benchmark files found.
commit98374443309b47b6393afcc46ef39e3800064e5e authorJohn MacFarlane <jgm@berkeley.edu> dateFri 5 Mar 2021, 21:11 (6 years ago) parent5c4eb72
1 file changed+1−1
Makefile+1−1
Makefile+1−1
@@ -4,7 +4,7 @@ SOURCEFILES?=$(shell git ls-tree -r master --name-only | grep "\.hs$$")
44BRANCH?=master
55COMMIT=$(shell git rev-parse --short HEAD)
66TIMESTAMP=$(shell date "+%Y%m%d_%H%M")
7−LATESTBENCH=$(word 1,$(shell ls -t bench_*.csv))
7+LATESTBENCH=$(word 1,$(shell ls -t bench_*.csv || exit 0))
88ifeq ($(LATESTBENCH),)
99BASELINE=
1010else