Make generic md to pdf rule in Makefile