rule mkdir command = mkdir -p $out description = Creating directory $out rule pdf command = pandoc -f markdown $in -t latex --latex-engine=xelatex -o $out description = Building pdf $out rule html command = pandoc -f markdown $in -t html --ascii -o $out description = Building html $out