Use mandatory filename format for oral

This commit is contained in:
flyingscorpio@clevo 2022-11-17 20:26:44 +01:00
parent 29ec643be4
commit 0d82fd34c1

View file

@ -1,13 +1,11 @@
timestamp=$(shell date +%Y-%m-%d_%H:%M)
oral_filename='Franken_Tunui_APFG73_2223_Mon_discours_EFERRIE'
all: oral
oral: oral.tex
@latexmk -pdf oral.tex
@if ! cmp --silent build/oral.pdf oral_*.pdf; then \
touch oral_tmp.pdf; \
rm oral*.pdf; \
cp build/oral.pdf oral_${timestamp}.pdf; \
@if ! cmp --silent build/oral.pdf ${oral_filename}.pdf; then \
cp build/oral.pdf ${oral_filename}.pdf; \
echo "Updated"; \
fi