http://groupefidexpert.ch/?mifologiyas=c%C3%A9libataire-sur-saint-michel-sur-orge&e68=59 Makefile to use with Pandoc using pattern rules.
connubially OUTPUT = ../output %.docx: %.mdown pandoc -s --biblio bibliography.bib --csl cell.csl -o $(OUTPUT)/$@ $< %.tex: %.mdown pandoc -s --biblio bibliography.bib --csl cell.csl -o $(OUTPUT)/$@ $<
Usage:
make introduction.docx
Adapted from
http://stackoverflow.com/questions/6577176/makefiles-and-wildcards