summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-23 21:44:08 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-25 16:15:24 +0100
commit694625737d6a7428606e3b8a2ba9330677edd96c (patch)
tree037045fe5b4b94bce1de752d19fd9985159729ae
parentGenerate a Policy Index (diff)
downloadpolicy-guide-694625737d6a7428606e3b8a2ba9330677edd96c.tar.gz
policy-guide-694625737d6a7428606e3b8a2ba9330677edd96c.tar.bz2
policy-guide-694625737d6a7428606e3b8a2ba9330677edd96c.zip
Copy singlehtml into html directory
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--Makefile5
-rw-r--r--tox.ini2
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5168496..b5027c9 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,10 @@ SPHINXPROJ = GentooPolicyGuide
SOURCEDIR = .
BUILDDIR = _build
-all: html
+all: html $(BUILDDIR)/html/combined.html
+
+$(BUILDDIR)/html/combined.html: singlehtml
+ cp $(BUILDDIR)/singlehtml/index.html $@
.PHONY: all Makefile
diff --git a/tox.ini b/tox.ini
index 987da45..faedab9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -10,4 +10,4 @@ whitelist_externals =
make
commands =
- make {posargs:html}
+ make {posargs:all}