resume.tex/tex/Makefile

22 lines
487 B
Makefile
Executable File

all: cv-en.pdf cv-fr.pdf
options=--shell-escape --synctex=1 --interaction=nonstopmode --file-line-error
%.pdf: %.tex
lualatex $(options) $<
lualatex $(options) $<
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/