diff options
Diffstat (limited to 'tools/misc')
-rw-r--r-- | tools/misc/Makefile.am | 1 | ||||
-rw-r--r-- | tools/misc/Makefile.in | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/misc/Makefile.am b/tools/misc/Makefile.am index 2eadd50..b6bf039 100644 --- a/tools/misc/Makefile.am +++ b/tools/misc/Makefile.am @@ -28,6 +28,7 @@ TEST_SCRIPT=testh5repart.sh check_PROGRAMS=$(TEST_PROG) repart_test check_SCRIPTS=$(TEST_SCRIPT) +SCRIPT_DEPEND=h5repart$(EXEEXT) # Build pdb2hdf5 if LLNL's PDB is present (checked in configure) if BUILD_PDB2HDF_CONDITIONAL diff --git a/tools/misc/Makefile.in b/tools/misc/Makefile.in index 2ffbd3a..66d49a5 100644 --- a/tools/misc/Makefile.in +++ b/tools/misc/Makefile.in @@ -340,6 +340,7 @@ INCLUDES = -I$(top_srcdir)/src TEST_PROG = h5repart_gentest TEST_SCRIPT = testh5repart.sh check_SCRIPTS = $(TEST_SCRIPT) +SCRIPT_DEPEND = h5repart$(EXEEXT) # Build pdb2hdf5 if LLNL's PDB is present (checked in configure) @BUILD_PDB2HDF_CONDITIONAL_TRUE@PDB2HDF = pdb2hdf5 @@ -828,7 +829,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummysh.chkexe_: tname=`basename $(@:.chkexe_=)`;\ log=`basename $(@:.chkexe_=.chklog)`; \ echo "============================"; \ - if $(top_srcdir)/bin/newer `basename $(@:.chkexe_=.chkexe)` $(@:.chkexe_=); then \ + if $(top_srcdir)/bin/newer `basename $(@:.chkexe_=.chkexe)` $(SCRIPT_DEPEND); then \ echo "No need to test $${tname} again."; \ else \ echo "============================" > $${log}; \ |