]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: direct user to doc/install.html if the build fails
authorZooko O'Whielacronx <zooko@zooko.com>
Tue, 8 Jan 2008 00:23:02 +0000 (17:23 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Tue, 8 Jan 2008 00:23:02 +0000 (17:23 -0700)
Makefile

index 5c79acc3a697b1ae82907404935395dfea659d91..9fa0e19e81e39a78661f323f81af54defa02d17f 100644 (file)
--- 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: