Use mandatory filename format for oral
This commit is contained in:
parent
29ec643be4
commit
0d82fd34c1
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue