summaryrefslogtreecommitdiffstats
path: root/vorlagen/thesis/src/Makefile
diff options
context:
space:
mode:
authorRefik Hadzialic2012-03-26 13:17:34 +0200
committerRefik Hadzialic2012-03-26 13:17:34 +0200
commit4abd197d076ac894ea1260e506b03dd020a7cee4 (patch)
tree32866b82c321a063dfda7fda8eea82f5ac939caf /vorlagen/thesis/src/Makefile
parentinit repo (diff)
downloadmalign-4abd197d076ac894ea1260e506b03dd020a7cee4.tar.gz
malign-4abd197d076ac894ea1260e506b03dd020a7cee4.tar.xz
malign-4abd197d076ac894ea1260e506b03dd020a7cee4.zip
I added the latex files for writing the thesis!
Diffstat (limited to 'vorlagen/thesis/src/Makefile')
-rw-r--r--vorlagen/thesis/src/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/vorlagen/thesis/src/Makefile b/vorlagen/thesis/src/Makefile
new file mode 100644
index 0000000..a57a10f
--- /dev/null
+++ b/vorlagen/thesis/src/Makefile
@@ -0,0 +1,25 @@
+all: build tmp
+ mv maindoc.pdf ..
+
+build: clean
+ pdflatex maindoc
+ bibtex maindoc
+ pdflatex maindoc
+ pdflatex maindoc
+
+tmp:
+ mkdir -p ../tmp
+ find . -iname "*.aux" \
+ -o -iname "*.log" \
+ -o -iname "*.bbl" \
+ -o -iname "*.blg" \
+ -o -iname "*.out" \
+ -o -iname "*.dvi" \
+ -o -iname "*.toc" \
+ | xargs -ITMPFILES mv TMPFILES ../tmp/
+
+clean:
+ rm -vf *.aux *.log *.bbl *.blg *.out *.dvi *.toc
+
+distclean: clean
+ rm -vf *.pdf