Permalink
Browse files

Fix build with newer sphinx versions

  • Loading branch information...
1 parent 58c29dd commit bb44c36c21fdebe0e84134b2945274708d996ea8 @fgsch fgsch committed Jan 7, 2017
Showing with 3 additions and 3 deletions.
  1. +1 −1 doc/sphinx/Makefile.am
  2. +2 −2 doc/sphinx/Makefile.phk
@@ -7,7 +7,7 @@ SPHINXBUILD = sphinx-build -W -q -N
PAPER = a4
BUILDDIR = build
-ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees -D latex_paper_size=$(PAPER) $(SPHINXOPTS) $(builddir)
+ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees -D latex_elements.papersize=$(PAPER) $(SPHINXOPTS) $(builddir)
.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
@@ -8,8 +8,8 @@ PAPER =
BUILDDIR = build
# Internal variables.
-PAPEROPT_a4 = -D latex_paper_size=a4
-PAPEROPT_letter = -D latex_paper_size=letter
+PAPEROPT_a4 = -D latex_elements.papersize=a4
+PAPEROPT_letter = -D latex_elements.papersize=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(CURDIR)
.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest

0 comments on commit bb44c36

Please sign in to comment.