17 lines
332 B
Makefile
17 lines
332 B
Makefile
NAMES = cv
|
|
TEX = $(foreach i,$(NAMES),$(i).tex)
|
|
PDF = $(TEX:.tex=.pdf)
|
|
|
|
TEXMK = latexmk -lualatex -interaction=nonstopmode
|
|
RM = rm -rf
|
|
|
|
|
|
all: $(PDF)
|
|
|
|
$(PDF): %.pdf: %.tex
|
|
$(TEXMK) $<
|
|
|
|
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc vrb
|
|
clean:
|
|
$(RM) $(PDF) \
|
|
$(foreach f,$(NAMES),$(foreach e,$(EXTS),$(f).$(e)))
|