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
|
all: oral
|
||||||
|
|
||||||
oral: oral.tex
|
oral: oral.tex
|
||||||
@latexmk -pdf oral.tex
|
@latexmk -pdf oral.tex
|
||||||
@if ! cmp --silent build/oral.pdf oral_*.pdf; then \
|
@if ! cmp --silent build/oral.pdf ${oral_filename}.pdf; then \
|
||||||
touch oral_tmp.pdf; \
|
cp build/oral.pdf ${oral_filename}.pdf; \
|
||||||
rm oral*.pdf; \
|
|
||||||
cp build/oral.pdf oral_${timestamp}.pdf; \
|
|
||||||
echo "Updated"; \
|
echo "Updated"; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue