summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminusf <minusf@gmail.com>2013-07-28 19:58:19 +0900
committerTim Graham <timograham@gmail.com>2013-07-29 06:52:50 -0400
commitf8e6434912784b8055ba33ca110047f5b5bb2856 (patch)
treea9976bc29f00c4de18a6d59be26e2474d1ff2153
parent02ac44b29a25632fb6ae3ad40ed83f08565f51e9 (diff)
[1.5.x] Allowed overriding variables in docs/Makefile.
Backport of c694e6220e from master
-rw-r--r--docs/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/Makefile b/docs/Makefile
index a2c926c7ea..21b8a9cbe9 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -2,11 +2,11 @@
#
# You can set these variables from the command line.
-SPHINXOPTS =
-SPHINXBUILD = sphinx-build
-PAPER =
-BUILDDIR = _build
-LANGUAGE =
+SPHINXOPTS ?=
+SPHINXBUILD ?= sphinx-build
+PAPER ?=
+BUILDDIR ?= _build
+LANGUAGE ?=
# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4