gwift-book/Makefile

18 lines
404 B
Makefile

.PHONY: help pdf
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " pdf to make standalone PDF files"
clean:
rm -rf $(BUILDDIR)/*
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
pdf:
asciidoctor-pdf -a pdf-themesdir=resources/themes -a pdf-theme=book.yml source/main.adoc -t