This repository has been archived on 2023-09-18. You can view files and clone it, but cannot push or open issues or pull requests.
thesis-presentation/Makefile

20 lines
404 B
Makefile
Raw Permalink Normal View History

2023-06-14 21:45:09 +02:00
DOCNAME=presentation
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}/