17 lines
380 B
Makefile
17 lines
380 B
Makefile
PDFs := $(patsubst src/%/presentation.tex,build/presentation_%.pdf,$(wildcard src/*/presentation.tex))
|
|
|
|
.PHONY: all
|
|
all: $(PDFs)
|
|
|
|
build/presentation_%.pdf: src/%/presentation.tex build/prepared
|
|
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk $<
|
|
mv build/presentation.pdf $@
|
|
|
|
build/prepared:
|
|
mkdir -p build
|
|
touch build/prepared
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf build
|