summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5diff/Makefile.in')
-rw-r--r--tools/h5diff/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/h5diff/Makefile.in b/tools/h5diff/Makefile.in
index 6b19b3c..6d248d7 100644
--- a/tools/h5diff/Makefile.in
+++ b/tools/h5diff/Makefile.in
@@ -331,6 +331,7 @@ INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/tools/lib
TEST_PROG = h5difftst
TEST_SCRIPT = $(srcdir)/testh5diff.sh
check_SCRIPTS = $(TEST_SCRIPT) $(TEST_SCRIPT_PARA)
+SCRIPT_DEPEND = h5diff$(EXEEXT)
# Source files for the program
h5diff_SOURCES = h5diff_main.c h5diff_common.c
@@ -770,7 +771,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}; \