[Groonga-commit] groonga/groonga [master] don't check sphinx version on no hg environment.

Back to archive index

null+****@clear***** null+****@clear*****
2012年 1月 12日 (木) 18:23:14 JST


Kouhei Sutou	2012-01-12 18:23:14 +0900 (Thu, 12 Jan 2012)

  New Revision: 2f85a6805955a36c2967843b3212d417e5397b95

  Log:
    don't check sphinx version on no hg environment.

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

  Modified: build/makefiles/sphinx-build.am (+5 -1)
===================================================================
--- build/makefiles/sphinx-build.am    2012-01-12 18:15:15 +0900 (ec295db)
+++ build/makefiles/sphinx-build.am    2012-01-12 18:23:14 +0900 (f21db28)
@@ -16,7 +16,11 @@ SPHINX_BUILD_COMMAND = LOCALE="$(LOCALE)" PYTHONPATH="$(SPHINX_DIR):$$PYTHONPATH
 
 .PHONY: sphinx-ensure-updated
 
-sphinx-ensure-updated: $(SPHINX_DIR)
+if WITH_HG
+sphinx-ensure-updated:
 	if ! $(SPHINX_BUILD_COMMAND) 2>&1 | head -1 | grep 'v1.[2]' -q > /dev/null; then \
 	  $(HG) pull $(SPHINX_DIR);							 \
 	fi
+else
+sphinx-ensure-updated:
+endif




Groonga-commit メーリングリストの案内
Back to archive index