all: cv-en.pdf cv-fr.pdf

%.pdf: %.tex
	latexmk -pdf $<

clean:
	latexmk -C

publish:
	@echo "Publishing"
	cp -i *.pdf ../doc/

sync: publish
	rsync -avzu ../doc/*.pdf root@home.ortion.fr:/var/www/upload/cv/