From 5fedebcf4433c8841fe7eba43a13a87dff96c3e8 Mon Sep 17 00:00:00 2001 From: Ian Hinder Date: Wed, 2 May 2012 13:46:30 +0200 Subject: Makefile: Only copy back CCZ4 if it was generated --- m/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm') diff --git a/m/Makefile b/m/Makefile index a92567c..272a6a9 100644 --- a/m/Makefile +++ b/m/Makefile @@ -20,7 +20,7 @@ McLachlan_BSSN.out: McLachlan_BSSN.m ./create-helper-thorn.sh $$thorn && \ ./copy-if-changed.sh $${thorn}_Helper ../$${thorn}_Helper; \ done - ./copy-if-changed.sh ML_CCZ4 ../ML_CCZ4 + [ -r ML_CCZ4 ] && ./copy-if-changed.sh ML_CCZ4 ../ML_CCZ4 \ McLachlan_ADMConstraints.out: McLachlan_ADMConstraints.m rm -rf ML_ADMConstraints* -- cgit v1.2.3