From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Tue, 8 Jan 2008 17:39:49 +0000 (-0700)
Subject: setup: fix it to direct the user to install.html in case of build failure
X-Git-Tag: allmydata-tahoe-0.7.0~22
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/flags/CLI.txt?a=commitdiff_plain;h=ab03cbee2534089c6cfe65db0e9960d1d0162df4;p=tahoe-lafs%2Ftahoe-lafs.git

setup: fix it to direct the user to install.html in case of build failure
---

diff --git a/Makefile b/Makefile
index 9fa0e19e..69676620 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,8 @@ TRIAL=PYTHONUNBUFFERED=1 $(TRIALCMD) --rterrors $(REACTOROPT)
 
 build-auto-deps: check-deps
 	mkdir -p "$(SUPPORTLIB)"
-	PYTHONPATH="$(PYTHONPATH)$(PATHSEP)$(SUPPORTLIB)$(PATHSEP)" \
+	echo PYTHONPATH="$(PYTHONPATH)$(PATHSEP)$(SUPPORTLIB)$(PATHSEP)" $(PYTHON) misc/dependencies/build-deps-setup.py install --prefix="$(SUPPORT)"
+	@-PYTHONPATH="$(PYTHONPATH)$(PATHSEP)$(SUPPORTLIB)$(PATHSEP)" \
          $(PYTHON) misc/dependencies/build-deps-setup.py install \
 	 --prefix="$(SUPPORT)" || \
 	echo "Build of Tahoe's bundled, automatically built dependent libraries failed -- please see docs/install.html for instructions."
@@ -107,7 +108,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) || \
+	echo $(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