From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Thu, 20 Sep 2007 00:04:36 +0000 (-0700)
Subject: Makefile: give explicit failure message to user if dependencies aren't found
X-Git-Tag: allmydata-tahoe-0.6.0~55
X-Git-Url: https://git.rkrishnan.org/%5B/frontends?a=commitdiff_plain;h=95067ae5223e4ab5a56c1114adf452b30905802e;p=tahoe-lafs%2Ftahoe-lafs.git

Makefile: give explicit failure message to user if dependencies aren't found
---

diff --git a/Makefile b/Makefile
index 15ac4408..3923a7e6 100644
--- a/Makefile
+++ b/Makefile
@@ -107,7 +107,9 @@ endif
 
 check-deps:
 	$(PP) \
-	 $(PYTHON) -c 'import allmydata, zfec, foolscap, simplejson, nevow, OpenSSL'
+	 $(PYTHON) -c 'import allmydata, zfec, foolscap, simplejson, nevow, OpenSSL' || \
+	echo "Not all of Tahoe's dependencies are in place.  Please see the README for help on installing dependencies." && \
+	exit 1
 
 .checked-deps:
 	$(MAKE) check-deps