summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 19ddafc..e60aa34 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -12,6 +12,7 @@ PAPER =
SOURCES =
DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py)
SPHINXERRORHANDLING = -W
+SERVE_PORT =
# Internal variables.
PAPEROPT_a4 = -D latex_elements.papersize=a4paper
@@ -217,7 +218,7 @@ check:
$(PYTHON) tools/rstlint.py ../Misc/NEWS.d/next/
serve:
- $(PYTHON) ../Tools/scripts/serve.py build/html
+ $(PYTHON) ../Tools/scripts/serve.py build/html $(SERVE_PORT)
# Targets for daily automated doc build
# By default, Sphinx only rebuilds pages where the page content has changed.