Ignore .git and _build directories for livehtml

This commit is contained in:
RunasSudo 2021-02-22 19:02:11 +11:00
parent bf98a6b3be
commit f3ea38e9db
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -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