Rename texte1
This commit is contained in:
parent
44eee665bf
commit
aace6ea812
2 changed files with 7 additions and 7 deletions
|
@ -1,13 +1,13 @@
|
|||
timestamp=$(shell date +%Y-%m-%d_%H:%M)
|
||||
|
||||
all: texte1
|
||||
all: texte1-reperage
|
||||
|
||||
texte1: texte1.tex
|
||||
@latexmk -pdf texte1.tex
|
||||
@if ! cmp --silent build/texte1.pdf texte1_*.pdf; then \
|
||||
touch texte1_tmp.pdf; \
|
||||
rm texte1*.pdf; \
|
||||
cp build/texte1.pdf texte1_${timestamp}.pdf; \
|
||||
texte1-reperage: texte1-reperage.tex
|
||||
@latexmk -pdf texte1-reperage.tex
|
||||
@if ! cmp --silent build/texte1-reperage.pdf texte1-reperage_*.pdf; then \
|
||||
touch texte1-reperage_tmp.pdf; \
|
||||
rm texte1-reperage*.pdf; \
|
||||
cp build/texte1-reperage.pdf texte1-reperage_${timestamp}.pdf; \
|
||||
echo "Updated"; \
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue