From e3af9ecef4a1aaa5393a5fa3dd2d7b048d58ad89 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Mon, 7 Jan 2008 17:23:02 -0700 Subject: [PATCH] setup: direct user to doc/install.html if the build fails --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5c79acc3..9fa0e19e 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,8 @@ build-auto-deps: check-deps mkdir -p "$(SUPPORTLIB)" PYTHONPATH="$(PYTHONPATH)$(PATHSEP)$(SUPPORTLIB)$(PATHSEP)" \ $(PYTHON) misc/dependencies/build-deps-setup.py install \ - --prefix="$(SUPPORT)" + --prefix="$(SUPPORT)" || \ + echo "Build of Tahoe's bundled, automatically built dependent libraries failed -- please see docs/install.html for instructions." # The following target is here because I don't know how to tell the buildmaster # to start instructing his slaves to "build-auto-deps" instead of instructing @@ -106,7 +107,8 @@ src/allmydata/_version.py: $(MAKE) make-version build: src/allmydata/_version.py - $(PYTHON) ./setup.py build_ext -i $(INCLUDE_DIRS_ARG) $(LIBRARY_DIRS_ARG) + $(PYTHON) ./setup.py build_ext -i $(INCLUDE_DIRS_ARG) $(LIBRARY_DIRS_ARG) || \ + echo "Build of Allmydata-Tahoe failed -- please see docs/install.html for instructions." chmod +x bin/tahoe # 'make install' will do the following: -- 2.45.2