summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-06-21 23:54:14 +0200
committerChristian Grothoff <christian@grothoff.org>2020-06-21 23:54:14 +0200
commit408e25ffc215e5abcfb2f882274a5074b3bb9af2 (patch)
treea23b39f3df8e628576ed59ecf526d1fa7d9cc1d6 /Makefile
parent2f947a75e1f88be116325702be5f27ba473a3af4 (diff)
parent16d342d5adbef75e2182d0668f9ecbf97b70aa02 (diff)
downloaddocs-408e25ffc215e5abcfb2f882274a5074b3bb9af2.tar.gz
docs-408e25ffc215e5abcfb2f882274a5074b3bb9af2.tar.bz2
docs-408e25ffc215e5abcfb2f882274a5074b3bb9af2.zip
Merge branch 'master' of git+ssh://git.taler.net/docs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e15550e5..60745923 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,8 @@ diagrams: arch-api.png
# The html-linked builder does not support caching, so we
# remove all cached state first.
html: diagrams
- $(SPHINXBUILD) -b html-linked $(ALLSPHINXOPTS) $(BUILDDIR)/html
+ # -W = exit 1 on warning; --keep-going = complete build anyway; write log to ~/warnings.log
+ $(SPHINXBUILD) -W --keep-going -w /home/docbuilder/sphinx-warnings.log -b html-linked $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
@@ -121,7 +122,8 @@ latex:
"(use \`make latexpdf' here to do that automatically)."
latexpdf:
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ # -W = exit 1 on warning; --keep-going = complete build anyway
+ $(SPHINXBUILD) -W --keep-going -w /home/docbuilder/sphinx-warnings.log -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."