all: pdf html pdf: mkdir -p build pdflatex -output-directory build blocking.tex pdflatex -output-directory build blocking.tex html: mkdir -p html make4ht -d html blocking.tex make4ht -d html blocking.tex cat custom.css >> html/blocking.css rm blocking.4ct blocking.4tc blocking.aux blocking.dvi blocking.idv blocking.lg blocking.log blocking.tmp blocking.xref blocking.css blocking.html .PHONY: all pdf html