From: Brian Warner Date: Wed, 19 Sep 2007 23:23:55 +0000 (-0700) Subject: Makefile: fix and-vs-or bug in check-deps, hide errmsg in non-failing cases X-Git-Tag: allmydata-tahoe-0.6.0~54 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/file/URI:LIT:krugkidfnzsc4/index.php?a=commitdiff_plain;h=7e4090edfb77d2a79c41a8285860ee2e051dd427;p=tahoe-lafs%2Ftahoe-lafs.git Makefile: fix and-vs-or bug in check-deps, hide errmsg in non-failing cases --- diff --git a/Makefile b/Makefile index 3923a7e6..1ab835ba 100644 --- a/Makefile +++ b/Makefile @@ -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