From f6d87c2990f19a1f231c7735b5adfa7603262b89 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Tue, 24 May 2022 16:24:32 +0200 Subject: Fix presentation Makefile --- presentation/Makefile | 17 ++++++++--------- 1 file 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) $< - -- cgit v1.2.1