From 88de0e02f0aaa7f1b0d6d6f193c7f49c7b7cfc54 Mon Sep 17 00:00:00 2001 From: Mike McGreevy Date: Fri, 14 May 2010 15:29:57 -0500 Subject: [svn-r18808] Purpose: Fixed file cleanup during make distclean / make check. Description: The h5jam Makefile and the h5importtestutil.sh script both included cleanup steps that removed "*.txt" from the directory. This resulted in the new CMake specific configuration file, CMakeLists.txt, getting blown away by make distclean (for h5jam) and make check (for h5import). I've removed the *.txt from the h5jam Makefile as the directory looks to be getting cleaned appropriately without it, and I've modified the h5import script h5importtestutil.sh to point to the specific .txt files to clean. Tested: jam --- tools/h5import/h5importtestutil.sh | 2 +- tools/h5jam/Makefile.am | 2 +- tools/h5jam/Makefile.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/h5import/h5importtestutil.sh b/tools/h5import/h5importtestutil.sh index d8b54a7..6dbec84 100755 --- a/tools/h5import/h5importtestutil.sh +++ b/tools/h5import/h5importtestutil.sh @@ -120,7 +120,7 @@ TOOLTEST $srcdir/testfiles/in64.txt -c $srcdir/testfiles/textpfe.conf -o test15. -rm -f *.txt *.bin *.h5 +rm -f txtin32.txt txtin16.txt *.bin *.h5 rm -rf tmp_testfiles else echo "** h5import or h5importtest not available ***" diff --git a/tools/h5jam/Makefile.am b/tools/h5jam/Makefile.am index 2f9bc00..c6ccebf 100644 --- a/tools/h5jam/Makefile.am +++ b/tools/h5jam/Makefile.am @@ -39,7 +39,7 @@ LDADD=$(LIBH5TOOLS) $(LIBHDF5) # Temporary files. *.h5 are generated by jamgentest. They should # copied to the testfiles/ directory if update is required. -CHECK_CLEANFILES+=*.h5 *.txt +CHECK_CLEANFILES+=*.h5 DISTCLEANFILES=testh5jam.sh include $(top_srcdir)/config/conclude.am diff --git a/tools/h5jam/Makefile.in b/tools/h5jam/Makefile.in index fdce1d1..bf5219a 100644 --- a/tools/h5jam/Makefile.in +++ b/tools/h5jam/Makefile.in @@ -373,7 +373,7 @@ TRACE = perl $(top_srcdir)/bin/trace # Temporary files. *.h5 are generated by jamgentest. They should # copied to the testfiles/ directory if update is required. -CHECK_CLEANFILES = *.chkexe *.chklog *.clog *.h5 *.txt +CHECK_CLEANFILES = *.chkexe *.chklog *.clog *.h5 # Include src and tools/lib directories INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/tools/lib -- cgit v0.12