all = \ fripost-organisations-leaflet.pdf \ fripost-organisations-standard.pdf \ organisations.tex \ organisations.mdwn all: $(all) fripost-organisations-leaflet.pdf: organisations.mdwn template.tex pandoc -s -f markdown -t latex --template=template.tex -o $@ $< fripost-organisations-standard.pdf: organisations.mdwn pandoc -s -f markdown -t latex -o $@ $< organisations.tex: organisations.mdwn template.tex pandoc -s -f markdown -t latex --template=template.tex < $< > $@ organisations.mdwn: git archive --remote=gitolite@git.fripost.org:fripost-wiki.git --format=tar HEAD organisations.mdwn | tar --extract > $@ send: rsync -ruvp --chmod=Dugo+rx,Fugo+r *.pdf www.fripost.org:/var/www/fripost.org/material/ clean: rm -f $(all) SHELL = /bin/bash