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
1 changed files with 4 additions and 4 deletions

View File

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