docs: allow outside of Makefile variable assignment

This allow packagers to select the sphinx-build command version (python2
or python3) without changing the Makefile:

$ SPHINXBUILD=sphinx-build2 SPHINXOPTS=... make man
This commit is contained in:
Timothée Ravier 2015-07-19 11:00:04 +02:00
parent 03195cf93f
commit 24dbf042a2

View File

@ -1,8 +1,8 @@
# Makefile for Sphinx documentation # Makefile for Sphinx documentation
SPHINXOPTS = SPHINXOPTS ?=
SPHINXBUILD = sphinx-build SPHINXBUILD ?= sphinx-build
PAPER = PAPER ?=
BUILDDIR = _build BUILDDIR ?= _build
# Internal variables # Internal variables
PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_a4 = -D latex_paper_size=a4