summaryrefslogtreecommitdiffstats
path: root/presentation/Makefile
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2022-05-24 16:24:32 +0200
committerNao Pross <np@0hm.ch>2022-05-24 16:24:32 +0200
commitf6d87c2990f19a1f231c7735b5adfa7603262b89 (patch)
treeacd4cf2a52547f5dcff2e0518e445b5349d1e4f9 /presentation/Makefile
parentRemove .DS_Store (diff)
downloadFourierOnS2-f6d87c2990f19a1f231c7735b5adfa7603262b89.tar.gz
FourierOnS2-f6d87c2990f19a1f231c7735b5adfa7603262b89.zip
Fix presentation Makefile
Diffstat (limited to 'presentation/Makefile')
-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) $<
-