Remove tp1 from Makefile
This commit is contained in:
parent
1e3b8f72bc
commit
f6d7053043
1 changed files with 1 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
|||
timestamp=$(shell date +%Y-%m-%d_%H:%M)
|
||||
|
||||
all: td1 tp1
|
||||
all: td1
|
||||
|
||||
td1: td1.tex
|
||||
@latexmk -pdf td1.tex
|
||||
|
@ -11,14 +11,5 @@ td1: td1.tex
|
|||
echo "Updated"; \
|
||||
fi
|
||||
|
||||
tp1: tp1.tex
|
||||
@latexmk -pdf tp1.tex
|
||||
@if ! cmp --silent build/tp1.pdf tp1_*.pdf; then \
|
||||
touch tp1_tmp.pdf; \
|
||||
rm tp1*.pdf; \
|
||||
cp build/tp1.pdf tp1_${timestamp}.pdf; \
|
||||
echo "Updated"; \
|
||||
fi
|
||||
|
||||
clean:
|
||||
@rm -rf build 2>/dev/null
|
||||
|
|
Loading…
Reference in a new issue