diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-06-11 11:05:19 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-06-11 11:05:19 +0000 |
commit | 5174a9e687b776d36385df1d265f71a1d89765b7 (patch) | |
tree | 5b5460af45781794e0c867cdea7c272c8153e139 /Makefile | |
parent | 515fcdf21eea7e794e06e1afd54214f13be4bc4b (diff) |
Exit with error code if thornlist doesn't exist.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3767 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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) |