summaryrefslogtreecommitdiffstats
path: root/presentation/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--presentation/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/presentation/Makefile b/presentation/Makefile
index 8427cb0..7bba7be 100644
--- a/presentation/Makefile
+++ b/presentation/Makefile
@@ -1,19 +1,18 @@
TEX := xelatex
-TEXARGS := --output-directory=build --halt-on-error
+BIB := bibtex
+TEXARGS := --halt-on-error
-DOCNAME := FourierOnS2
+DOCNAME := KugelBSc
SOURCES := $(DOCNAME).tex
-
-include tex/Makefile.inc
+BIBFILE := $(DOCNAME).bib
.PHONY: clean
-all: build/$(DOCNAME).pdf
+all: $(DOCNAME).pdf
clean:
- @rm -rfv build
+ @rm -v $(DOCNAME)-blx.bib $(DOCNAME).aux $(DOCNAME).bbl $(DOCNAME).blg $(DOCNAME).log $(DOCNAME).nav $(DOCNAME).out $(DOCNAME).run.xml $(DOCNAME).snm $(DOCNAME).toc
-build/$(DOCNAME).pdf : $(SOURCES)
- mkdir -p build
+$(DOCNAME).pdf : $(SOURCES) $(BIBFILE)
$(TEX) $(TEXARGS) $<
+ $(BIB) $(DOCNAME)
$(TEX) $(TEXARGS) $<
-