summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbuckE <buckE@disroot.org>2020-06-24 03:39:17 +0000
committerbuckE <buckE@disroot.org>2020-06-24 03:39:17 +0000
commit6f72059695927efaaa2d67b1cbd82d42ce555c13 (patch)
treeecabfe3b71ad6cf9699476abfe217ed1e94e1c63 /Makefile
parent3b672a34c723d002e0c5727ef508cf4ef332a6cc (diff)
downloaddocs-6f72059695927efaaa2d67b1cbd82d42ce555c13.tar.gz
docs-6f72059695927efaaa2d67b1cbd82d42ce555c13.tar.bz2
docs-6f72059695927efaaa2d67b1cbd82d42ce555c13.zip
$HOME/logs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c83f8335..10df8dfe 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; write log to ~/warnings.log
- $(SPHINXBUILD) -W --keep-going -w $PWD/sphinx-warnings.log -b html-linked $(ALLSPHINXOPTS) $(BUILDDIR)/html
+ $(SPHINXBUILD) -W --keep-going -w $HOME/logs/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 -w $PWD/sphinx-warnings.log -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ $(SPHINXBUILD) -W --keep-going -w $HOME/logs/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."