summaryrefslogtreecommitdiffstats
path: root/presentation/Makefile
blob: 8b6b4fa355edcd939c99e4c53529bd2e8fd153df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
TEX := xelatex
BIB := bibtex
TEXARGS := --halt-on-error

DOCNAME := KugelBSc
SOURCES := $(DOCNAME).tex
BIBFILE := $(DOCNAME).bib

.PHONY: clean
all: $(DOCNAME).pdf

clean:
	@rm -fv $(DOCNAME)-blx.bib $(DOCNAME).aux $(DOCNAME).bbl $(DOCNAME).blg $(DOCNAME).log $(DOCNAME).nav $(DOCNAME).out $(DOCNAME).run.xml $(DOCNAME).snm $(DOCNAME).toc

$(DOCNAME).pdf : $(SOURCES) $(BIBFILE)
	$(TEX) $(TEXARGS) $<
	$(BIB) $(DOCNAME)
	$(TEX) $(TEXARGS) $<