From 87b5b98b45c7acaeeebed840a61309fe32643006 Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Fri, 29 Jul 2011 15:03:46 +0200 Subject: [PATCH 1/1] Makefile for LaTeX; +make clean --- Ausarbeitung/Makefile | 21 +++++++++++++++++++++ Ausarbeitung/images/Makefile | 4 ++++ 2 files changed, 25 insertions(+) create mode 100644 Ausarbeitung/Makefile diff --git a/Ausarbeitung/Makefile b/Ausarbeitung/Makefile new file mode 100644 index 0000000..15fecda --- /dev/null +++ b/Ausarbeitung/Makefile @@ -0,0 +1,21 @@ +all: main.pdf + +images: + $(MAKE) -C images all + +main.pdf: main.tex images + pdflatex main.tex + makeindex main.idx + bibtex main.aux + pdflatex main.tex + pdflatex main.tex + +clean: + $(MAKE) -C images clean + rm -f main.pdf *.aux *.bbl *.blg *.idx *.log *.lof *.ind *.ilg *.out *.toc *.backup *~ + +archive: main.pdf + cp main.pdf thesis-`date +%Y-%m-%d-%Hh%M`.pdf + +.PHONY: images clean + diff --git a/Ausarbeitung/images/Makefile b/Ausarbeitung/images/Makefile index fb32227..f0b2e56 100644 --- a/Ausarbeitung/images/Makefile +++ b/Ausarbeitung/images/Makefile @@ -6,3 +6,7 @@ all: Wiselib-Arch.pdf Roomba-Diagram.pdf Implementation-Diagram.pdf Implementation-Diagram.pdf: Implementation-Diagram.dot dot $< -Tpdf > $@ +clean: + rm -f Implementation-Diagram.pdf Wiselib-Arch.pdf Roomba-Diagram.pdf + +.PHONY: clean -- 2.20.1