diff --git a/Makefile b/Makefile index a5b6899..9862055 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,19 @@ -all: - mkdir -p build/build +.PHONY: all +all: build/prepared build/presentation_template.pdf build/presentation_2025-11-07.pdf +build/presentation_template.pdf: TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk src/template/presentation.tex - mv build/presentation.pdf build/presentation_template.pdf + mv build/presentation.pdf $@ +build/presentation_2025-11-07.pdf: TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk src/2025-11-07/presentation.tex - mv build/presentation.pdf build/presentation_2025-11-07.pdf + mv build/presentation.pdf $@ + +build/prepared: + mkdir -p build build + touch build/prepared + +.PHONY: clean clean: rm -rf build