# Stratum Handbook: build the PDF from the Markdown sources in book/
PDF = stratum-handbook.pdf
SRC = $(shell find book -type f)

all: $(PDF)

$(PDF): $(SRC)
	python3 book/build.py -s book -o $@

html: $(SRC)
	python3 book/build.py -s book --html stratum-handbook.html --html-only

clean:
	rm -f $(PDF) stratum-handbook.html

.PHONY: all html clean
