Modify Makefile to build incrementally
This commit is contained in:
parent
c9e1bcc5ea
commit
884d6a65ae
16
Makefile
16
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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user