Add UML project, make latexmk command show output

This commit is contained in:
flyingscorpio@arch-desktop 2021-09-27 14:58:38 +02:00
parent f840ee4b63
commit a288d9b9a0
10 changed files with 41 additions and 8 deletions

View file

@ -4,7 +4,7 @@ timestamp=$(shell date +%Y-%m-%d_%H:%M)
all: snapshot
snapshot: main.tex
@latexmk -pdf main.tex >/dev/null 2>&1
@latexmk -pdf main.tex
@if ! cmp --silent build/main.pdf ${filename}_*.pdf; then \
touch ${filename}_tmp.pdf; \
rm ${filename}*.pdf; \

View file

@ -4,7 +4,7 @@ timestamp=$(shell date +%Y-%m-%d_%H:%M)
all: snapshot
snapshot: main.tex
@latexmk -pdf main.tex >/dev/null 2>&1
@latexmk -pdf main.tex
@if ! cmp --silent build/main.pdf ${filename}_*.pdf; then \
touch ${filename}_tmp.pdf; \
rm ${filename}*.pdf; \

View file

@ -4,7 +4,7 @@ timestamp=$(shell date +%Y-%m-%d_%H:%M)
all: snapshot
snapshot: main.tex
@latexmk -pdf main.tex >/dev/null 2>&1
@latexmk -pdf main.tex
@if ! cmp --silent build/main.pdf ${filename}_*.pdf; then \
touch ${filename}_tmp.pdf; \
rm ${filename}*.pdf; \

View file

@ -4,7 +4,7 @@ texfile20210922=contrat-independant-romance-martin
all: 20210922
20210922: contrat-independant-romance-martin.tex
@latexmk -pdf ${texfile20210922}.tex >/dev/null 2>&1
@latexmk -pdf ${texfile20210922}.tex
@if ! cmp --silent build/${texfile20210922}.pdf ${texfile20210922}_*.pdf; then \
touch ${texfile20210922}_tmp.pdf; \
rm ${texfile20210922}*.pdf; \

View file

@ -4,7 +4,7 @@ timestamp=$(shell date +%Y-%m-%d_%H:%M)
all: snapshot
snapshot: main.tex
@latexmk -pdf main.tex >/dev/null 2>&1
@latexmk -pdf main.tex
@if ! cmp --silent build/main.pdf ${filename}_*.pdf; then \
touch ${filename}_tmp.pdf; \
rm ${filename}*.pdf; \

View file

@ -4,7 +4,7 @@ timestamp=$(shell date +%Y-%m-%d_%H:%M)
all: snapshot
snapshot: main.tex
@latexmk -pdf main.tex >/dev/null 2>&1
@latexmk -pdf main.tex
@if ! cmp --silent build/main.pdf ${filename}_*.pdf; then \
touch ${filename}_tmp.pdf; \
rm ${filename}*.pdf; \

View file

@ -4,7 +4,7 @@ timestamp=$(shell date +%Y-%m-%d_%H:%M)
all: snapshot
snapshot: main.tex
@latexmk -pdf main.tex >/dev/null 2>&1
@latexmk -pdf main.tex
@if ! cmp --silent build/main.pdf ${filename}_*.pdf; then \
touch ${filename}_tmp.pdf; \
rm ${filename}*.pdf; \

View file

@ -0,0 +1,16 @@
filename=$(shell basename $(shell pwd))
timestamp=$(shell date +%Y-%m-%d_%H:%M)
all: snapshot
snapshot: main.tex
@latexmk -pdf main.tex
@if ! cmp --silent build/main.pdf ${filename}_*.pdf; then \
touch ${filename}_tmp.pdf; \
rm ${filename}*.pdf; \
cp build/main.pdf ${filename}_${timestamp}.pdf; \
echo "Updated"; \
fi
clean:
@rm -rf build 2>/dev/null

View file

@ -0,0 +1,17 @@
\documentclass[a4paper,french,12pt]{article}
\title{UML et POO}
\author{Corentin Gauttier, Nelson Alikou Dongmo, Tunui Franken}
\date{Dernière compilation~: \today{} à \currenttime}
\usepackage{../../cours}
\begin{document}
\maketitle
\tableofcontents
\clearpage
\section{Abstract}
\end{document}

View file

@ -4,7 +4,7 @@ timestamp=$(shell date +%Y-%m-%d_%H:%M)
all: tp1
tp1: tp1_20210910.tex
@latexmk -pdf tp1_20210910.tex >/dev/null 2>&1
@latexmk -pdf tp1_20210910.tex
@if ! cmp --silent build/tp1_20210910.pdf tp1_20210910.pdf; then \
cp build/tp1_20210910.pdf tp1_20210910.pdf; \
echo "Updated"; \