latex-common/Makefile

12 lines
187 B
Makefile

SRCS=$(shell find examples -type f -name "*.tex")
PDFS=$(shell echo $(SRCS:.tex=.pdf) | sed -e "s/examples\\///g")
all: $(PDFS)
%.pdf: examples/%.tex
latexmk $<
clean:
rm -rf build