From 5174a9e687b776d36385df1d265f71a1d89765b7 Mon Sep 17 00:00:00 2001 From: tradke Date: Fri, 11 Jun 2004 11:05:19 +0000 Subject: Exit with error code if thornlist doesn't exist. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3767 17b73243-c579-4c4c-a9d2-2d5706c11dac --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 273ce809..a0be9f5a 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ # # # @enddesc -# @version $Id: Makefile,v 1.156 2004-06-07 14:39:13 tradke Exp $ +# @version $Id: Makefile,v 1.157 2004-06-11 11:05:19 tradke Exp $ # @@*/ ################################################################################## @@ -713,8 +713,9 @@ $(addsuffix -config,$(CONFIGURATIONS)): int_version else \ echo Use $(MAKE) $(@:%-config=%) to build the configuration. ; \ fi; \ - else \ + else \ echo "ThornList $(THORNLIST_DIR)/$(THORNLIST) does not exist" ; \ + exit 2; \ fi @echo $(DIVIDER) endif @@ -754,6 +755,7 @@ endif fi; \ else \ echo "ThornList $(THORNLIST_DIR)/$(THORNLIST) does not exist" ; \ + exit 2; \ fi ; \ fi @echo $(DIVIDER) @@ -1193,6 +1195,7 @@ downsize: fi; \ else \ echo "ThornList $(THORNLIST_DIR)/$(THORNLIST) does not exist" ; \ + exit 2; \ fi ; \ fi @echo $(DIVIDER) -- cgit v1.2.3