made library dependencies more dynamic
switched to absolute paths
This commit is contained in:
+9
-9
@@ -1,13 +1,13 @@
|
||||
build_dir = ../build
|
||||
library_dir = ../library
|
||||
propers_dir = ../propers
|
||||
config_dir = ../config
|
||||
tex_deps = *.tt $(library_dir)/*/*/*.tt $(propers_dir)/*.tt $(config_dir)/song_choices.csv $(config_dir)/variables.tt
|
||||
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)/$@
|
||||
$(tpage) $< > $(build_dir)/$@
|
||||
musician_scores.tex: musician_scores.tt $(tex_deps)
|
||||
tpage $< > $(build_dir)/$@
|
||||
$(tpage) $< > $(build_dir)/$@
|
||||
leadsheet_collection.tex: musician_scores.tt $(tex_deps)
|
||||
tpage --define parts=band $< > $(build_dir)/$@
|
||||
$(tpage) --define parts=band $< > $(build_dir)/$@
|
||||
choir_scores.tex: musician_scores.tt $(tex_deps)
|
||||
tpage --define parts=SATB $< > $(build_dir)/$@
|
||||
$(tpage) --define parts=SATB $< > $(build_dir)/$@
|
||||
$(build_dir)/dynamic_deps.mk: dynamic_deps.mk.tt $(song_choices) $(user_variables)
|
||||
$(tpage) $< > $@
|
||||
|
||||
Reference in New Issue
Block a user