null+****@clear*****
null+****@clear*****
2012年 1月 12日 (木) 18:15:15 JST
Kouhei Sutou 2012-01-12 18:15:15 +0900 (Thu, 12 Jan 2012)
New Revision: 8af316bd437ebe403ba422fa064b4eacf15f4af4
Log:
clone Sphinx on doc/.
Modified files:
build/makefiles/sphinx-build.am
doc/Makefile.am
Modified: build/makefiles/sphinx-build.am (+1 -4)
===================================================================
--- build/makefiles/sphinx-build.am 2012-01-12 17:03:23 +0900 (8419250)
+++ build/makefiles/sphinx-build.am 2012-01-12 18:15:15 +0900 (ec295db)
@@ -16,10 +16,7 @@ SPHINX_BUILD_COMMAND = LOCALE="$(LOCALE)" PYTHONPATH="$(SPHINX_DIR):$$PYTHONPATH
.PHONY: sphinx-ensure-updated
-$(SPHINX_BUILD):
- $(HG) clone https://bitbucket.org/birkenfeld/sphinx $(SPHINX_DIR)
-
-sphinx-ensure-updated: $(SPHINX_BUILD)
+sphinx-ensure-updated: $(SPHINX_DIR)
if ! $(SPHINX_BUILD_COMMAND) 2>&1 | head -1 | grep 'v1.[2]' -q > /dev/null; then \
$(HG) pull $(SPHINX_DIR); \
fi
Modified: doc/Makefile.am (+9 -0)
===================================================================
--- doc/Makefile.am 2012-01-12 17:03:23 +0900 (d049187)
+++ doc/Makefile.am 2012-01-12 18:15:15 +0900 (a949c30)
@@ -1,6 +1,8 @@
SUBDIRS = \
locale
+BUILT_SOURCES =
+
all:
include $(top_srcdir)/doc/files.am
@@ -49,3 +51,10 @@ dist-hook:
@echo "must specify --enable-document for 'make dist'"
@false
endif
+
+if WITH_HG
+sphinx:
+ $(HG) clone https://bitbucket.org/birkenfeld/sphinx sphinx
+
+BUILT_SOURCES += sphinx
+endif