[Groonga-mysql-commit] mroonga/mroonga at 4457dd8 [master] doc: fix Sphinx version detection

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 5 11:14:30 JST 2014


Kouhei Sutou	2014-05-05 11:14:30 +0900 (Mon, 05 May 2014)

  New Revision: 4457dd84d41376c37e4408b21ba3c24b90694bdf
  https://github.com/mroonga/mroonga/commit/4457dd84d41376c37e4408b21ba3c24b90694bdf

  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-04 18:34:23 +0900 (3b2e34f)
+++ build/makefiles/sphinx-build.am    2014-05-05 11:14:30 +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-mysql-commit mailing list
Back to archive index