yarns = 000.yaml $(shell ls *.yarn) all: doc.pdf doc.html doc.pdf: $(yarns) pandoc --smart --toc --chapters --number-sections \ -o $@ $(yarns) doc.html: $(yarns) pandoc --smart --toc --chapters --number-sections --standalone \ -o $@ $(yarns)