1
0
ak9im-proto1/Makefile

21 lines
399 B
Makefile
Raw Permalink Normal View History

2022-11-13 21:20:59 +01:00
DOCNAME=proto1
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}/