From f51c34643e37ff22521dc68561512e9ef6164023 Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 12 Nov 2022 21:05:20 +0100 Subject: [PATCH] add makefile, symlink thesis.tex -> prace.tex --- Makefile | 20 ++++++++++++++++++++ thesis.tex | 1 + 2 files changed, 21 insertions(+) create mode 100644 Makefile create mode 120000 thesis.tex diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ba6fb3f --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +DOCNAME=thesis +CMD="pdflatex -synctex=1 -file-line-error -interaction=nonstopmode" + +.PHONY: $(DOCNAME).pdf all clean + +all: $(DOCNAME).pdf + +$(DOCNAME).pdf: $(DOCNAME).tex + latexmk -pdf -pdflatex=$(CMD) -use-make $(DOCNAME).tex + +watch: $(DOCNAME).tex + latexmk -pvc -pdf -pdflatex=$(CMD) -use-make $(DOCNAME).tex + +clean: + # latexmk -CA # -> deprecated + latexmk -C + +install: + cp $(DOCNAME).pdf ${out}/ + diff --git a/thesis.tex b/thesis.tex new file mode 120000 index 0000000..b142441 --- /dev/null +++ b/thesis.tex @@ -0,0 +1 @@ +prace.tex \ No newline at end of file