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
|
|
|
|
2023-02-07 16:07:52 +01:00
|
|
|
options=--shell-escape --synctex=1 --interaction=nonstopmode --file-line-error
|
|
|
|
|
2022-10-03 21:22:07 +02:00
|
|
|
%.pdf: %.tex
|
2023-02-07 16:07:52 +01:00
|
|
|
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"
|
2023-01-11 09:58:51 +01:00
|
|
|
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/
|