diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-03-05 21:11:35 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-03-05 21:11:35 -0800 |
commit | 98374443309b47b6393afcc46ef39e3800064e5e (patch) | |
tree | 4a2a8a10b157d8bc5a6b9f49e16ee53000bd723e | |
parent | 5c4eb7246b068deac1a9eac397094098f68ab048 (diff) | |
download | pandoc-98374443309b47b6393afcc46ef39e3800064e5e.tar.gz |
Makefile: exit smoothly if no prior benchmark files found.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ SOURCEFILES?=$(shell git ls-tree -r master --name-only | grep "\.hs$$") BRANCH?=master COMMIT=$(shell git rev-parse --short HEAD) TIMESTAMP=$(shell date "+%Y%m%d_%H%M") -LATESTBENCH=$(word 1,$(shell ls -t bench_*.csv)) +LATESTBENCH=$(word 1,$(shell ls -t bench_*.csv || exit 0)) ifeq ($(LATESTBENCH),) BASELINE= else |