summaryrefslogtreecommitdiffstats
path: root/vorlagen/thesis/src/Makefile
diff options
context:
space:
mode:
authorRefik Hadzialic2012-03-27 12:20:13 +0200
committerRefik Hadzialic2012-03-27 12:20:13 +0200
commit0133f24d91019ab1fae941b53704e7fb99c502b2 (patch)
tree6a2261918f8463dd2ab9f36d033f594de267f9cb /vorlagen/thesis/src/Makefile
parentdeleted (diff)
downloadmalign-0133f24d91019ab1fae941b53704e7fb99c502b2.tar.gz
malign-0133f24d91019ab1fae941b53704e7fb99c502b2.tar.xz
malign-0133f24d91019ab1fae941b53704e7fb99c502b2.zip
Templates for the latex!
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