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

This commit is contained in:
Zooko O'Whielacronx 2007-09-19 17:04:36 -07:00
parent ca5883b09b
commit 95067ae522
1 changed files with 3 additions and 1 deletions

View File

@ -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