Chromium Code Reviews| 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 |
| SPHINXBUILD = sphinx-build |
| PAPER = |
| -BUILDDIR = _build |
| +BUILDDIR = out |
|
eliben
2013/09/04 21:50:51
Why out and not _build? _build is standard for Sph
Sam Clegg
2013/09/04 21:54:30
Just because 'out' is the convention for chrome an
eliben
2013/09/05 15:47:21
I don't care too much either. I stated the reasons
|
| # 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 |