From 8120b86795a077d97b8920412500392d161d8b10 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 13 Jan 2020 20:33:06 +0100 Subject: Clean builds up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- Makefile | 5 ++--- tox.ini | 4 +++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 1c9d813..5168496 100644 --- a/Makefile +++ b/Makefile @@ -8,10 +8,9 @@ SPHINXPROJ = GentooPolicyGuide SOURCEDIR = . BUILDDIR = _build -html: - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) +all: html -.PHONY: html Makefile +.PHONY: all Makefile # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). diff --git a/tox.ini b/tox.ini index 5913c11..1873355 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,8 @@ skipsdist = True [testenv] deps = sphinx +whitelist_externals = + make commands = - make html + make {posargs:html} -- cgit v1.2.3-65-gdbad