summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5dump/Makefile.in')
-rw-r--r--tools/h5dump/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/h5dump/Makefile.in b/tools/h5dump/Makefile.in
index 2a822a1..cfcdec4 100644
--- a/tools/h5dump/Makefile.in
+++ b/tools/h5dump/Makefile.in
@@ -319,6 +319,7 @@ INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/tools/lib
TEST_PROG = h5dumpgentest
TEST_SCRIPT = testh5dump.sh $(srcdir)/testh5dumpxml.sh
check_SCRIPTS = $(TEST_SCRIPT)
+SCRIPT_DEPEND = h5dump$(EXEEXT)
# All the programs depend on the hdf5 and h5tools libraries
LDADD = $(LIBH5TOOLS) $(LIBHDF5)
@@ -746,7 +747,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}; \