Index: trunk/psLib/test/image/Makefile.am
===================================================================
--- trunk/psLib/test/image/Makefile.am	(revision 3381)
+++ trunk/psLib/test/image/Makefile.am	(revision 3638)
@@ -32,10 +32,10 @@
 	sBiOut.fits \
 	sOut.fits
-               
+
 TESTS_ENVIRONMENT = perl $(top_srcdir)/test/runTest -verified=$(srcdir)/verified 
 
-CLEANFILES = $(TESTS) $(check_DATA)
+CLEANFILES = $(TESTS) $(check_DATA) temp/*
 
-tests: $(TESTS)
+tests: $(check_DATA) $(TESTS)
 
 tst_psImage_SOURCES =  tst_psImage.c
@@ -59,3 +59,4 @@
 sOut.fits: verified/sOut.fits
 	cp $? $@
-                        
+
+test: check
