Makefile for LaTeX; +make clean
authorRoland Hieber <rohieb@rohieb.name>
Fri, 29 Jul 2011 13:03:46 +0000 (15:03 +0200)
committerRoland Hieber <rohieb@rohieb.name>
Fri, 29 Jul 2011 13:03:46 +0000 (15:03 +0200)
Ausarbeitung/Makefile [new file with mode: 0644]
Ausarbeitung/images/Makefile

diff --git a/Ausarbeitung/Makefile b/Ausarbeitung/Makefile
new file mode 100644 (file)
index 0000000..15fecda
--- /dev/null
@@ -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
+
index fb32227..f0b2e56 100644 (file)
@@ -6,3 +6,7 @@ all: Wiselib-Arch.pdf Roomba-Diagram.pdf Implementation-Diagram.pdf
 Implementation-Diagram.pdf: Implementation-Diagram.dot
        dot $< -Tpdf > $@
 
 Implementation-Diagram.pdf: Implementation-Diagram.dot
        dot $< -Tpdf > $@
 
+clean:
+       rm -f Implementation-Diagram.pdf Wiselib-Arch.pdf Roomba-Diagram.pdf
+
+.PHONY: clean
This page took 0.025485 seconds and 4 git commands to generate.