28 lines
631 B
Makefile
28 lines
631 B
Makefile
TEXS := curriculo-ptbr.tex \
|
|
curriculo-en.tex \
|
|
curriculo-ptbr-data.tex \
|
|
curriculo-en-data.tex \
|
|
curriculo-ptbr-processos.tex \
|
|
curriculo-en-processes.tex \
|
|
curriculo-ptbr-qualidade.tex \
|
|
curriculo-en-qc.tex
|
|
PDFS := $(TEXS:.tex=.pdf)
|
|
|
|
LATEX ?= latexmk -pdf -interaction=nonstopmode -halt-on-error
|
|
OPEN ?= xdg-open
|
|
|
|
.PHONY: all build open clean clear
|
|
|
|
all: build clean
|
|
|
|
build: $(PDFS)
|
|
|
|
%.pdf: %.tex
|
|
$(LATEX) $<
|
|
|
|
open: $(PDFS)
|
|
@for f in $(PDFS); do $(OPEN) "$$f" >/dev/null 2>&1 & done
|
|
|
|
clean clear:
|
|
@rm -f *.aux *.log *.out *.toc *.synctex.gz *.fls *.fdb_latexmk \
|
|
*.bbl *.blg *.nav *.snm *.vrb *.dvi *.xdv *.lot *.lof
|