summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbuckE <buckE@disroot.org>2020-06-26 04:13:40 +0000
committerbuckE <buckE@disroot.org>2020-06-26 04:13:40 +0000
commitac542c2f0bf79cfc302b0fb7059adbbc6bdf60f0 (patch)
tree1b25824b105a904167fc307dec4d9d46c84a8141 /Makefile
parent7f6d92f19506e45e4e526d34af5210214e063311 (diff)
downloaddocs-ac542c2f0bf79cfc302b0fb7059adbbc6bdf60f0.tar.gz
docs-ac542c2f0bf79cfc302b0fb7059adbbc6bdf60f0.tar.bz2
docs-ac542c2f0bf79cfc302b0fb7059adbbc6bdf60f0.zip
removed exit 1 on sphinx warnings
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index da61fa46..358aef58 100644
--- a/Makefile
+++ b/Makefile
@@ -60,8 +60,8 @@ diagrams: arch-api.png
# The html-linked builder does not support caching, so we
# remove all cached state first.
html: diagrams
-# -W = exit 1 on warning; --keep-going = complete build anyway; write log to ~/warnings.log
- $(SPHINXBUILD) -W --keep-going -b html-linked $(ALLSPHINXOPTS) $(BUILDDIR)/html
+# -W = exit 1 on warning; --keep-going = complete build anyway; -w /tmp/sphinx-warnings.log = write log to ~/warnings.log
+ $(SPHINXBUILD) -b html-linked $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
@@ -122,8 +122,7 @@ latex:
"(use \`make latexpdf' here to do that automatically)."
latexpdf:
- # -W = exit 1 on warning; --keep-going = complete build anyway
- $(SPHINXBUILD) -W --keep-going -w $(shell echo $HOME)/logs/sphinx-warnings.log -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ $(SPHINXBUILD) -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."