summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/commence.am2
-rw-r--r--config/conclude.am3
2 files changed, 3 insertions, 2 deletions
diff --git a/config/commence.am b/config/commence.am
index 3325efb..646d0bf 100644
--- a/config/commence.am
+++ b/config/commence.am
@@ -66,8 +66,6 @@ CHECK_CLEANFILES=$(TEST_PROG_CHKEXE:.chkexe_=.chkexe) \
$(TEST_PROG_PARA_CHKEXE:.chkexe_=.log) \
*.chksh *.logsh
-MOSTLYCLEANFILES=$(CHECK_CLEANFILES)
-
# check-install is a synonym for installcheck.
# Add this build rule here (rather than in conclude.am, where build rules
# normally go) because it should be included in the top-level Makefile.am
diff --git a/config/conclude.am b/config/conclude.am
index 4204d74..6bde574 100644
--- a/config/conclude.am
+++ b/config/conclude.am
@@ -46,6 +46,9 @@ install-doc uninstall-doc:
build-check-clean:
$(RM) $(CHECK_CLEANFILES)
+# run check-clean whenever mostlyclean is run
+mostlyclean-local: build-check-clean
+
# Run each test in order, passing $(TEST_FLAGS) to the program.
# Since tests are done in a shell loop, "make -i" does apply inside it.
# Set HDF5_Make_Ignore to a non-blank string to ignore errors inside the loop.