Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(387)

Unified Diff: native_client_sdk/src/doc/Makefile

Issue 571943003: Add a PORT parameter to make serve command in the NaCl SDK Makefile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/doc/Makefile
diff --git a/native_client_sdk/src/doc/Makefile b/native_client_sdk/src/doc/Makefile
index 04876d57447a93dd152f8b663cb6a5fbaeec3ebb..24af1a8864c2ad8ebd3c435d2f2e9228849bdaeb 100644
--- a/native_client_sdk/src/doc/Makefile
+++ b/native_client_sdk/src/doc/Makefile
@@ -6,6 +6,7 @@ SPHINXOPTS = -W
SPHINXBUILD = sphinx-build
BUILDDIR = _build
CHROMESITE_BUILDDIR = $(realpath ../../doc_generated)
+PORT = 8000
# User-friendly check for sphinx-build
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
@@ -69,5 +70,5 @@ presubmit:
-rm $(BUILDDIR)/.buildinfo
$(SPHINXBUILD) -b chromesite $(ALLSPHINXOPTS) $(BUILDDIR)
-serve:
- ../../../chrome/common/extensions/docs/server2/preview.py
+serve: chromesite_rst
+ ../../../chrome/common/extensions/docs/server2/preview.py -p $(PORT)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698