resume.tex/tex/Makefile

22 lines
487 B
Makefile
Raw Normal View History

2022-06-13 11:32:40 +02:00
2022-10-03 21:22:07 +02:00
all: cv-en.pdf cv-fr.pdf
2022-06-13 11:32:40 +02:00
options=--shell-escape --synctex=1 --interaction=nonstopmode --file-line-error
2022-10-03 21:22:07 +02:00
%.pdf: %.tex
lualatex $(options) $<
lualatex $(options) $<
2022-09-29 23:39:21 +02:00
2022-06-13 11:32:40 +02:00
clean:
2022-09-29 23:39:21 +02:00
rm -f *.log *.aux *.bbl *.blg *.out *~ *.fls *.synctex.gz *.fdb_latexmk
rm -rf _minted-main _minted-preamble
2022-06-13 11:32:40 +02:00
2022-09-29 23:39:21 +02:00
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/