Prepare exo droit du travail
This commit is contained in:
parent
f6f4c63f78
commit
e37c93d308
2 changed files with 28 additions and 0 deletions
13
droit-travail/exercices/20210922.tex
Normal file
13
droit-travail/exercices/20210922.tex
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
\documentclass[a4paper,french]{article}
|
||||||
|
|
||||||
|
\title{Exercice droit du travail}
|
||||||
|
\author{}
|
||||||
|
\date{22 septembre 2021}
|
||||||
|
|
||||||
|
\usepackage{../../cours}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\maketitle
|
||||||
|
|
||||||
|
\end{document}
|
15
droit-travail/exercices/Makefile
Normal file
15
droit-travail/exercices/Makefile
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
timestamp=$(shell date +%Y-%m-%d_%H:%M)
|
||||||
|
|
||||||
|
all: 20210922
|
||||||
|
|
||||||
|
20210922: 20210922.tex
|
||||||
|
@latexmk -pdf 20210922.tex >/dev/null 2>&1
|
||||||
|
@if ! cmp --silent build/20210922.pdf 20210922_*.pdf; then \
|
||||||
|
touch 20210922_tmp.pdf; \
|
||||||
|
rm 20210922*.pdf; \
|
||||||
|
cp build/20210922.pdf 20210922_${timestamp}.pdf; \
|
||||||
|
echo "Updated"; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@rm -rf build 2>/dev/null
|
Loading…
Reference in a new issue