From: Zooko O'Whielacronx Date: Tue, 8 Jan 2008 00:23:02 +0000 (-0700) Subject: setup: direct user to doc/install.html if the build fails X-Git-Tag: allmydata-tahoe-0.7.0~24 X-Git-Url: https://git.rkrishnan.org/pf/content/en/footer/FOOURL?a=commitdiff_plain;h=e3af9ecef4a1aaa5393a5fa3dd2d7b048d58ad89;p=tahoe-lafs%2Ftahoe-lafs.git setup: direct user to doc/install.html if the build fails --- 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: