Add cel slides template to TEXINPUTS in Makefile
This commit is contained in:
3
Makefile
3
Makefile
@@ -4,7 +4,8 @@ DOCUMENTS := $(patsubst src/%/main.tex,build/%.pdf,$(wildcard src/*/main.tex))
|
|||||||
all: $(DOCUMENTS)
|
all: $(DOCUMENTS)
|
||||||
|
|
||||||
build/%.pdf: src/%/main.tex build/prepared
|
build/%.pdf: src/%/main.tex build/prepared
|
||||||
latexmk $<
|
TEXINPUTS=./lib/cel-slides-template-2025:$(dir $<):$$TEXINPUTS \
|
||||||
|
latexmk -outdir=build/$* $<
|
||||||
mv build/main.pdf $@
|
mv build/main.pdf $@
|
||||||
|
|
||||||
build/prepared:
|
build/prepared:
|
||||||
|
|||||||
Reference in New Issue
Block a user