Index: native_client_sdk/src/doc/Makefile |
diff --git a/native_client_sdk/src/doc/Makefile b/native_client_sdk/src/doc/Makefile |
index 435b72ccfa40d9404e44f2129384fad4a2895c52..5c0375627361b33e2505c7416eac0845a9450bc9 100644 |
--- a/native_client_sdk/src/doc/Makefile |
+++ b/native_client_sdk/src/doc/Makefile |
@@ -2,10 +2,10 @@ |
# |
# You can set these variables from the command line. |
-SPHINXOPTS = |
+SPHINXOPTS = -W |
binji
2013/09/05 00:52:51
quick comment explaining this flag?
|
SPHINXBUILD = sphinx-build |
PAPER = |
-BUILDDIR = _build |
+BUILDDIR = out |
# User-friendly check for sphinx-build |
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) |
@@ -19,7 +19,9 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . |
# the i18n builder cannot share the environment and doctrees with the others |
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . |
-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext |
+.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext all |
+ |
+all: devsite |
help: |
@echo "Please use \`make <target>' where <target> is one of" |
@@ -182,4 +184,4 @@ devsite: |
$(SPHINXBUILD) -b devsite $(ALLSPHINXOPTS) $(BUILDDIR)/devsite |
serve: |
- cd _build/devsite && python -m SimpleHTTPServer 8009 |
+ cd out/devsite && python -m SimpleHTTPServer 8009 |