r115: *** empty log message ***
[ctsim.git] / src / sample-ctrec.sh.in
index 11809a2680be4c65d9f5b8c423faa87846512c70..1a9f105842b59ddcdff715530914263cbfdbf460 100755 (executable)
@@ -6,6 +6,11 @@ else
   bin="@prefix@/bin/"
 fi
 
+if test "$1" = "clean" ; then
+  rm -f sample-phm.png sample-phm16.png sample-phm.if sample-pj.pj sample-pj.if sample-pj.png sample-pj16.png sample-rec.if sample-rec.png sample-rec16.png
+  exit
+fi
+
 # Generate phantom image
 
 ${bin}phm2if sample-phm.if 256 256 --nsample 2 --phantom herman