summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-05-12 04:11:42 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-05-12 04:11:42 +0000
commit426e1ee172de45b94bada8b0dc91c098043b872b (patch)
treee29218f90706a7fc42c7fca596bef69d06afedbd /Makefile
parent195e85de79d4a12842da3bf55ce868ae480d7315 (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 12 insertions, 2 deletions
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.";\