commit:     8120b86795a077d97b8920412500392d161d8b10
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 19:33:06 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 13 19:33:06 2020 +0000
URL:        https://gitweb.gentoo.org/proj/policy-guide.git/commit/?id=8120b867

Clean builds up

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 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}

Reply via email to