summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrhaas <rhaas@17b73243-c579-4c4c-a9d2-2d5706c11dac>2012-07-15 18:17:04 +0000
committerrhaas <rhaas@17b73243-c579-4c4c-a9d2-2d5706c11dac>2012-07-15 18:17:04 +0000
commit8c217ff59b154985a8321420968d9803601ee06a (patch)
treee3d5293bdc58804eb942a435757104c86c556ecd /Makefile
parent08386918f42a416fee4e4000ab70102c1b31e141 (diff)
have -reconfig target execute -cleandeps after reconfiguration
this can be required if the reconfiguration changes dependency relationships git-svn-id: http://svn.cactuscode.org/flesh/trunk@4844 17b73243-c579-4c4c-a9d2-2d5706c11dac
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";\