From f3ea38e9db3a425cb28bb4618731722f5904ac25 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Mon, 22 Feb 2021 19:02:11 +1100 Subject: [PATCH] Ignore .git and _build directories for livehtml --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index aa98821..3fc0b2f 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ latexpdf-web: @cd _build/latex; TEX_MAX_REPEAT=3 LATEXMKOPTS="-usepretex=$(LATEX_PRE)\\\\powebtrue -r latexmkrc -lualatex" make PointsOfOrder_Web.pdf livehtml: - @PYTHONPATH=. sphinx-autobuild "$(SOURCEDIR)" "$(BUILDDIR)/html" $(SPHINXOPTS) -d _build/doctrees $(O) + @PYTHONPATH=. sphinx-autobuild "$(SOURCEDIR)" "$(BUILDDIR)/html" $(SPHINXOPTS) -d _build/doctrees --ignore ".git/*" --ignore "_build/*" $(O) mobi: ./po_ebook_convert.py _build/epub/PointsofOrder.epub _build/epub/PointsofOrder.mobi --mobi-file-type=both --remove-first-image --cover=_static/cover.jpg --chapter=/ --change-justification=left --mobi-ignore-margins --no-inline-toc