ak8bk_sem-proj/Makefile

20 lines
371 B
Makefile
Raw Normal View History

2022-05-15 17:16:03 +02:00
DOCNAME=sem-proj
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
install:
cp $(DOCNAME).pdf ${out}/