This commit is contained in:
2024-11-09 10:22:21 +01:00
parent ed6a1fb612
commit 02557ee6bc
13 changed files with 28 additions and 18 deletions
+4 -9
View File
@@ -1,19 +1,14 @@
docker = podman
build_dir = build
tex_deps = variables.tt library/*/*/*.tt song_choices.csv song_template.tt empty_page_template.tt propers/*.tt purpose_processing.tt
template_dir = templates
config_dir = config
.PHONY: all
.PRECIOUS: %.tex
all: leadsheet_collection.pdf choir_scores.pdf print_a3.pdf clean_intermediate #print_a4.pdf
%.pdf: build
$(MAKE) -C $(build_dir) $@
songsheet.tex: songsheet.tt $(tex_deps) header.tt head.tt footer.tt
tpage $< > $(build_dir)/$@
musician_scores.tex: musician_scores.tt $(tex_deps)
tpage $< > $(build_dir)/$@
leadsheet_collection.tex: musician_scores.tt $(tex_deps)
tpage --define parts=band $< > $(build_dir)/$@
choir_scores.tex: musician_scores.tt $(tex_deps)
tpage --define parts=SATB $< > $(build_dir)/$@
%.tex: build
$(MAKE) -C $(template_dir) $@
clean_intermediate:
$(MAKE) -C $(build_dir) clean_intermediate
build: build-Makefile