Prepare exo droit du travail

This commit is contained in:
flyingscorpio@arch-desktop 2021-09-22 17:21:24 +02:00
parent f6f4c63f78
commit e37c93d308
2 changed files with 28 additions and 0 deletions

View 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}

View 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