Add ctd2 and ctd3 to Makefile
This commit is contained in:
parent
08869e3107
commit
15bcd0ff01
1 changed files with 10 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
timestamp=$(shell date +%Y-%m-%d_%H:%M)
|
||||
|
||||
all: pre-requis ctd1
|
||||
all: pre-requis ctd1 ctd2 ctd3
|
||||
|
||||
pre-requis: pre-requis.tex
|
||||
@latexmk -pdf pre-requis.tex
|
||||
|
@ -29,5 +29,14 @@ ctd2: ctd2.tex
|
|||
echo "Updated"; \
|
||||
fi
|
||||
|
||||
ctd3: ctd3.tex
|
||||
@latexmk -pdf ctd3.tex
|
||||
@if ! cmp --silent build/ctd3.pdf ctd3_*.pdf; then \
|
||||
touch ctd3_tmp.pdf; \
|
||||
rm ctd3*.pdf; \
|
||||
cp build/ctd3.pdf ctd3_${timestamp}.pdf; \
|
||||
echo "Updated"; \
|
||||
fi
|
||||
|
||||
clean:
|
||||
@rm -rf build 2>/dev/null
|
||||
|
|
Loading…
Reference in a new issue