Add ‘clean‘ rule to Makefile

This commit is contained in:
Daniel - 2018-08-19 15:40:27 +02:00
parent 016902b629
commit b14eaa7d09
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,14 @@ PRESENTATIONS=$(patsubst %.tex, %.pdf, $(wildcard presentations/*.tex))
all: ${PRESENTATIONS}
clean:
rm -f presentations/*.log
rm -f presentations/*.out
rm -f presentations/*.nav
rm -f presentations/*.aux
rm -f presentations/*.snm
rm -f presentations/*.toc
.ONESHELL:
presentations/%.pdf : presentations/%.tex
cd presentations