summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbuckE <buckE@disroot.org>2020-06-24 04:09:46 +0000
committerbuckE <buckE@disroot.org>2020-06-24 04:09:46 +0000
commit62bac4b03a7d334ec61410dfa4b985ecb39bb33d (patch)
treece441ea634c85fd12bceeacfa8fe8412d125a2b0 /Makefile
parent46f151a7b4ab0773620107f10a659cd6b79f24bf (diff)
downloaddocs-62bac4b03a7d334ec61410dfa4b985ecb39bb33d.tar.gz
docs-62bac4b03a7d334ec61410dfa4b985ecb39bb33d.tar.bz2
docs-62bac4b03a7d334ec61410dfa4b985ecb39bb33d.zip
$(shell echo $HOME)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 45b91a2c..1d515e27 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 $HOME/logs/sphinx-warnings.log -b html-linked $(ALLSPHINXOPTS) $(BUILDDIR)/html
+ $(SPHINXBUILD) -W --keep-going -w $(shell echo $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 $(HOME)/logs/sphinx-warnings.log -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+ $(SPHINXBUILD) -W --keep-going -w $(shell echo $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."