summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 61de8c90..02a157f9 100644
--- a/Makefile
+++ b/Makefile
@@ -830,7 +830,9 @@ $(addsuffix -reconfig,$(CONFIGURATIONS)): int_version
echo "to see what these are."; \
exit 2; \
fi; \
- if ($(SETUP_ENV) $(PERL) -s $(SETUP) -config_file=$(CONFIGS_DIR)/$(@:%-reconfig=%)/config-info $(@:%-reconfig=%)) ; then : ; else \
+ if ($(SETUP_ENV) $(PERL) -s $(SETUP) -config_file=$(CONFIGS_DIR)/$(@:%-reconfig=%)/config-info $(@:%-reconfig=%)) ; then \
+ $(MAKE) $(@:%-reconfig=%)-cleandeps ; \
+ else \
echo "" ; \
echo "Error reconfiguring $@" ; \
rm -f "$(CONFIGS_DIR)/$(@:%-reconfig=%)/config-data/cctk_Config.h";\