Commit aaed1e21 authored by jmedley's avatar jmedley Committed by Commit bot

Add a PORT parameter to make serve command in the NaCl SDK Makefile.

BUG=

Review URL: https://codereview.chromium.org/571943003

Cr-Commit-Position: refs/heads/master@{#294868}
parent f6b40dd6
...@@ -6,6 +6,7 @@ SPHINXOPTS = -W ...@@ -6,6 +6,7 @@ SPHINXOPTS = -W
SPHINXBUILD = sphinx-build SPHINXBUILD = sphinx-build
BUILDDIR = _build BUILDDIR = _build
CHROMESITE_BUILDDIR = $(realpath ../../doc_generated) CHROMESITE_BUILDDIR = $(realpath ../../doc_generated)
PORT = 8000
# User-friendly check for sphinx-build # User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
...@@ -69,5 +70,5 @@ presubmit: ...@@ -69,5 +70,5 @@ presubmit:
-rm $(BUILDDIR)/.buildinfo -rm $(BUILDDIR)/.buildinfo
$(SPHINXBUILD) -b chromesite $(ALLSPHINXOPTS) $(BUILDDIR) $(SPHINXBUILD) -b chromesite $(ALLSPHINXOPTS) $(BUILDDIR)
serve: serve: chromesite_rst
../../../chrome/common/extensions/docs/server2/preview.py ../../../chrome/common/extensions/docs/server2/preview.py -p $(PORT)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment