Commit a937683a authored by Tony Mourier's avatar Tony Mourier

2389 Fix Makefile for virtualenv check

parent 55daccb4
......@@ -14,7 +14,7 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) sou
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
ifeq ($(shell which virtualenv >/dev/null 2>&1; echo $$?), 1)
ifeq ($(shell python2.7 -mvirtualenv >/dev/null 2>&1; echo $$?), 1)
$(error The 'virtualenv' command was not found. Run 'pip install virtualenv' before this script)
endif
......
......@@ -7,6 +7,7 @@ Dependencies
------------
* Sphinx (package python-sphinx on Debian)
* Python dev (package python-dev on Debian)
* sphinx-git modified (for git changelog). To install it:
pushd /tmp && sudo pip install git+https://gitlab.com/xivo.solutions/sphinx-git.git@tagtitles && popd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment