aboutsummaryrefslogtreecommitdiff
path: root/Makefile.sphinx
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.sphinx')
-rw-r--r--Makefile.sphinx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.sphinx b/Makefile.sphinx
index 8374b4c..6e807c9 100644
--- a/Makefile.sphinx
+++ b/Makefile.sphinx
@@ -94,6 +94,8 @@ epub:
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
+ @cp $(BUILDDIR)/epub/*epub _static/
+ @echo "A copy was made to _static/."
latex:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@@ -107,6 +109,8 @@ latexpdf:
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
+ @cp $(BUILDDIR)/latex/*pdf _static/
+ @echo "A copy was made to _static/."
text:
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
@@ -153,7 +157,7 @@ doctest:
"results in $(BUILDDIR)/doctest/output.txt."
#web: clean epub latexpdf html
-web: clean html
+web: clean epub html
web_deploy:
@rsync -avz --delete _build/html/ templates:/var/sites/templates/www/