[Groonga-commit] groonga/groonga at 1724a21 [master] doc: fix Sphinx version detection

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Mon May 5 11:16:45 JST 2014


Kouhei Sutou	2014-05-05 11:16:45 +0900 (Mon, 05 May 2014)

  New Revision: 1724a217f8a30f8805fe8190c701c846f3fbe2d9
  https://github.com/groonga/groonga/commit/1724a217f8a30f8805fe8190c701c846f3fbe2d9

  Message:
    doc: fix Sphinx version detection

  Modified files:
    build/makefiles/sphinx-build.am

  Modified: build/makefiles/sphinx-build.am (+1 -1)
===================================================================
--- build/makefiles/sphinx-build.am    2014-05-01 19:19:22 +0900 (3b2e34f)
+++ build/makefiles/sphinx-build.am    2014-05-05 11:16:45 +0900 (1a8e4a0)
@@ -23,7 +23,7 @@ SPHINX_BUILD_COMMAND =				\
 
 if DOCUMENT_BUILDABLE
 sphinx-ensure-updated:
-	if ! $(SPHINX_BUILD_COMMAND) 2>&1 | head -1 | grep 'v1.[23]' -q > /dev/null; then \
+	if ! $(SPHINX_BUILD_COMMAND) --version | grep -q ' 1\.[23]' > /dev/null; then \
 	  if test -d $(SPHINX_DIR); then						 \
 	    (cd $(SPHINX_DIR) && $(HG) pull --update);					 \
 	  else										 \
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index