diff options
author | rhaas <rhaas@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-07-15 18:17:04 +0000 |
---|---|---|
committer | rhaas <rhaas@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-07-15 18:17:04 +0000 |
commit | 8c217ff59b154985a8321420968d9803601ee06a (patch) | |
tree | e3d5293bdc58804eb942a435757104c86c556ecd /Makefile | |
parent | 08386918f42a416fee4e4000ab70102c1b31e141 (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-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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";\ |