Files
songsheet_generator/templates/Makefile
T
2024-11-27 14:51:40 +01:00

14 lines
697 B
Makefile

tpage_defs = --define config_dir=$(config_dir) --define library_dir=$(library_dir) --define propers_dir=$(propers_dir)
tpage = tpage $(tpage_defs)
tex_deps = *.tt $(config_dir)/variables.tt $(dynamic_deps)
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)/$@
$(build_dir)/dynamic_deps.mk: dynamic_deps.mk.tt $(song_choices) $(user_variables)
$(tpage) $< > $@