all: cv-en.pdf cv-fr.pdf %.pdf: %.tex pdflatex $< pdflatex $< clean: rm -f *.log *.aux *.bbl *.blg *.out *~ *.fls *.synctex.gz *.fdb_latexmk rm -rf _minted-main _minted-preamble publish: @echo "Publishing" cp -i *.pdf ../doc/ archive: clean publish cp -r ./ ../archive/$(shell date +%Y%m%d)/ sync: publish rsync -avzu ../doc/*.pdf root@home.ortion.fr:/var/www/upload/cv/