-
Reinhold Kainhofer authored
Some more final touches, Mainly fixing the full score layout. Full score is practically done, individual parts need checking. All TODOs from the full score are listed in the todo list on page 2
Reinhold Kainhofer authoredSome more final touches, Mainly fixing the full score layout. Full score is practically done, individual parts need checking. All TODOs from the full score are listed in the todo list on page 2
Makefile 2.08 KiB
base = Schubert_StabatMater_D383
SRCS = Schubert_StabatMater_D383_Music_01_Chor.ily Schubert_StabatMater_D383_Music_02_Arie.ily Schubert_StabatMater_D383_Music_03_Chor.ily Schubert_StabatMater_D383_Music_04_Duett.ily Schubert_StabatMater_D383_Music_05_Chor.ily Schubert_StabatMater_D383_Music_06_Arie.ily Schubert_StabatMater_D383_Music_07_Chor.ily Schubert_StabatMater_D383_Music_08_Arie.ily Schubert_StabatMater_D383_Music_09_Chor.ily Schubert_StabatMater_D383_Music_10_Terzett.ily Schubert_StabatMater_D383_Music_11_Terzett_Ch.ily Schubert_StabatMater_D383_Music_12_Chor.ily $(base)_Settings.ily
OUT=out
instruments = FlI FlII ObI ObII FagI FagII CFag TrbI TrbI_AltoClef TrbII TrbIII CorI CorII VI VII Va SSolo TSolo BSolo S A T B VcB
scores = Full Vocal SoloChoral Choral # Long Original
# scores = Long Full Vocal SoloChoral Choral Original
pdfs = $(instruments:%=$(OUT)/$(base)_Instrument_%.pdf) $(scores:%=$(OUT)/$(base)_Score_%.pdf)
texs = $(scores:%=TeX_$(base)_Score_%.tex)
texpdfs = $(scores:%=$(OUT)/TeX_$(base)_Score_%.pdf) $(OUT)/TeX_$(base)_Score_Instruments.pdf
.PHONY: all clean
all: $(OUT) $(instruments) $(scores) tex
instruments: $(instruments)
scores: $(scores)
clean:
rm -rf $(OUT)
lily: $(pdfs) $(additionalscores)
$(OUT) :
mkdir -p $(OUT)
$(instruments): % : $(OUT)/$(base)_Instrument_%.pdf $(SRCS)
$(scores): % : $(OUT)/$(base)_Score_%.pdf $(SRCS)
$(OUT)/%.pdf : %.ly $(SRCS)
lilypond -o $(basename $@) $<
$(OUT)/%.mp3 : %.midi
timidity -c /etc/timidity/fluidr3_gm.cfg -OwM $< -o $@
tex: latex
latex: $(texpdfs)
$(OUT)/TeX_%.pdf : TeX_%.tex
TEXINPUTS=$(OUT):orchestrallily/:.//: xelatex --output-directory=$(OUT)/ $<
# TEXINPUTS=$(OUT):orchestrallily/:.//: xelatex -interaction=batchmode --output-directory=$(OUT)/ $<
zipdir = $(base)_Final
dist: $(distfiles)
mkdir -p $(zipdir)
cp -r $(distfiles) $(zipdir)
rename 's/TeX_//' $(zipdir)/*
rename 's/Score_(Full|Long)\./Score./' $(zipdir)/*
zip -jr $(base).zip $(zipdir)
rm -rf $(zipdir)
webshop: $(distfiles)
python ../../Diverses/Webshop/EditionKainhofer_CSVI_Generate.py "0002 - Schubert - Stabat Mater D383.def" $(distfiles)