From fbc89c55742bac11a8e0a70e9535946a51e6fd11 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 28 Jan 2018 16:04:02 -0200 Subject: Updates EPUB config --- Makefile.sphinx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile.sphinx') 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/ -- cgit v1.2.3