Makefile: fix and-vs-or bug in check-deps, hide errmsg in non-failing cases

This commit is contained in:
Brian Warner 2007-09-19 16:23:55 -07:00
parent 95067ae522
commit 7e4090edfb

@ -105,11 +105,14 @@ endif
.PHONY: check-deps test test-figleaf figleaf-output
signal-error:
@echo "ERROR: Not all of Tahoe's dependencies are in place. Please \
see the README for help on installing dependencies."
exit 1
check-deps:
$(PP) \
$(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
$(PYTHON) -c 'import allmydata, zfec, foolscap, simplejson, nevow, OpenSSL' || $(MAKE) signal-error
.checked-deps:
$(MAKE) check-deps