mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 05:53:12 +00:00
setup: fix it to direct the user to install.html in case of build failure
This commit is contained in:
parent
a9a06fae25
commit
ab03cbee25
6
Makefile
6
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user