summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbuckE <buckE@disroot.org>2020-06-18 05:53:16 +0000
committerbuckE <buckE@disroot.org>2020-06-18 05:53:16 +0000
commit4860d7c536ec75938faeabf616c396bc6c4988c5 (patch)
treef916f06c9a34d29eab61304412fbc426cd3334e8 /Makefile
parent6680f37efc13cb16dbf13a3f7561b48a4a207b07 (diff)
downloaddocs-4860d7c536ec75938faeabf616c396bc6c4988c5.tar.gz
docs-4860d7c536ec75938faeabf616c396bc6c4988c5.tar.bz2
docs-4860d7c536ec75938faeabf616c396bc6c4988c5.zip
re-add options to cause exit 1 on warnings
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 305de63e..e94ea203 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,7 @@ diagrams: arch-api.png
# remove all cached state first.
html: diagrams
# -W = exit 1 on warning; --keep-going = complete build anyway
- $(SPHINXBUILD) -b html-linked $(ALLSPHINXOPTS) $(BUILDDIR)/html
+ $(SPHINXBUILD) -W --keep-going -b html-linked $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
@@ -123,7 +123,7 @@ latex:
latexpdf:
# -W = exit 1 on warning; --keep-going = complete build anyway
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ $(SPHINXBUILD) -W --keep-going -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."