Add UML project, make latexmk command show output
This commit is contained in:
parent
f840ee4b63
commit
a288d9b9a0
10 changed files with 41 additions and 8 deletions
|
@ -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; \
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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; \
|
||||
|
|
|
@ -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; \
|
||||
|
|
16
uml-poo/projet-data.gouv/Makefile
Normal file
16
uml-poo/projet-data.gouv/Makefile
Normal 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
|
17
uml-poo/projet-data.gouv/main.tex
Normal file
17
uml-poo/projet-data.gouv/main.tex
Normal 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}
|
|
@ -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"; \
|
||||
|
|
Loading…
Reference in a new issue