invoice-01.pdf: invoice-01.md pandoc -s -t html --template template.html --metadata-file metadata.yml $^ | tee invoice-01.html | weasyprint - $@ clean: - rm invoice-01.pdf invoice-01.html