diff options
author | buckE <buckE@disroot.org> | 2020-06-24 00:32:38 +0000 |
---|---|---|
committer | buckE <buckE@disroot.org> | 2020-06-24 00:32:38 +0000 |
commit | 3b672a34c723d002e0c5727ef508cf4ef332a6cc (patch) | |
tree | bd4650a4e664f42ef6780f894b4a3cbac0c2b2b0 /Makefile | |
parent | 7b1fbffcba394bcdf9326c6285679b684b98d2d1 (diff) | |
download | docs-3b672a34c723d002e0c5727ef508cf4ef332a6cc.tar.gz docs-3b672a34c723d002e0c5727ef508cf4ef332a6cc.tar.bz2 docs-3b672a34c723d002e0c5727ef508cf4ef332a6cc.zip |
using $PWD for sphinx warning log
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; write log to ~/warnings.log - $(SPHINXBUILD) -W --keep-going -b html-linked $(ALLSPHINXOPTS) $(BUILDDIR)/html + $(SPHINXBUILD) -W --keep-going -w $PWD/sphinx-warnings.log -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) -W --keep-going -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex + $(SPHINXBUILD) -W --keep-going -w $PWD/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." |