From 426e1ee172de45b94bada8b0dc91c098043b872b Mon Sep 17 00:00:00 2001 From: goodale Date: Wed, 12 May 2004 04:11:42 +0000 Subject: Fixing the quick fix I put in earlier so it doesn't produce a bogus error message. Also made a better comment about incomplete configurations. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3719 17b73243-c579-4c4c-a9d2-2d5706c11dac --- Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4048cf71..ff895677 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ # # # @enddesc -# @version $Id: Makefile,v 1.151 2004-05-11 20:13:13 goodale Exp $ +# @version $Id: Makefile,v 1.152 2004-05-12 04:11:42 goodale Exp $ # @@*/ ################################################################################## @@ -232,7 +232,17 @@ endif .PHONY: $(CONFIGURATIONS) $(CONFIGURATIONS): - if 0 ; then \ + if test ! -f "$(CONFIGS_DIR)/$@/config-data/cctk_Config.h" ; then \ + echo $(DIVIDER);\ + echo "Cactus - version: $(CCTK_VERSION)";\ + echo "Error: Configuration $@ is incomplete.";\ + echo "Please check the files in $(CONFIGS_DIR)/$@/config-data for error messages.";\ + echo "You can try again to configure using $(MAKE) $@-config";\ + echo "or delete this configuration with $(MAKE) $@-delete.";\ + echo $(DIVIDER);\ + exit 1; \ + fi + if test -z "FIXME" ; then \ echo $(DIVIDER);\ echo "Cactus - version: $(CCTK_VERSION)";\ echo "Error: Configuration $@ is out of date.";\ -- cgit v1.2.3