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