Navigation Menu

Skip to content

Commit

Permalink
doc: re-support cloning Sphinx from scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jul 28, 2012
1 parent 8df0414 commit f9fc5ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/makefiles/sphinx-build.am
Expand Up @@ -24,7 +24,11 @@ SPHINX_BUILD_COMMAND = \
if DOCUMENT_BUILDABLE
sphinx-ensure-updated:
if ! $(SPHINX_BUILD_COMMAND) 2>&1 | head -1 | grep 'v1.[2]' -q > /dev/null; then \
(cd $(SPHINX_DIR) && $(HG) pull --update); \
if test -d $(SPHINX_DIR); then \
(cd $(SPHINX_DIR) && $(HG) pull --update); \
else \
$(HG) clone https://bitbucket.org/birkenfeld/sphinx $(SPHINX_DIR); \
fi; \
fi
else
sphinx-ensure-updated:
Expand Down

0 comments on commit f9fc5ae

Please sign in to comment.