Commit f7b9f67e authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

new oly template, files are generated in out/

parent d66f61ae
......@@ -4,8 +4,8 @@
\setCreatePDF ##t
\header {
scoretype = \ParticellScoreTitle
scorenumber = \markup{\scoreNumber \ParticellScoreNumber}
scoretype = \ParticellTitle
scorenumber = \markup{\scoreNumber \ParticellNumber}
\createScore #"TuiSuntCoeli" #'("Particell")
SRCS = Eybler_TuiSuntCoeli_HV78_Music_TuiSuntCoeli.ily Eybler_TuiSuntCoeli_HV78_Settings.ily
instruments = ClI ClII FagI FagII CorI CorII TbeI TbeII Tim VI VII Va S A T B Continuo O VcB
scores = Full Long Particell Organ Choral Original
pdfs = $(instruments:%=Eybler_TuiSuntCoeli_HV78_Instrument_%.pdf) $(scores:%=Eybler_TuiSuntCoeli_HV78_Score_%.pdf)
pdfs = $(instruments:%=$(OUT)/Eybler_TuiSuntCoeli_HV78_Instrument_%.pdf) $(scores:%=$(OUT)/Eybler_TuiSuntCoeli_HV78_Score_%.pdf)
texs = $(scores:%=TeX_Eybler_TuiSuntCoeli_HV78_Score_%.tex)
texpdfs = $(scores:%=$(OUT)/TeX_Eybler_TuiSuntCoeli_HV78_Score_%.pdf)
.PHONY: all clean
all: $(instruments) $(scores)
full: $(ext)
all: $(OUT) $(instruments) $(scores) tex
instruments: $(instruments)
scores: $(scores)
for i in $(ext); do \
rm -f Eybler_TuiSuntCoeli_HV78_Score_$${i}.pdf Eybler_TuiSuntCoeli_HV78_Score_$${i}.ps; \
rm -f Eybler_TuiSuntCoeli_HV78_Instrument_$${i}.pdf Eybler_TuiSuntCoeli_HV78_Instrument_$${i}.ps; \
done; \
rm -rf $(OUT)
$(OUT) :
mkdir -p $(OUT)
$(instruments): % : $(OUT)/Eybler_TuiSuntCoeli_HV78_Instrument_%.pdf $(SRCS)
$(scores): % : $(OUT)/Eybler_TuiSuntCoeli_HV78_Score_%.pdf $(SRCS)
$(OUT)/%.pdf : $(SRCS)
lilypond -o $(basename $@) $<
$(instruments): % : Eybler_TuiSuntCoeli_HV78_Instrument_%.pdf $(SRCS)
$(scores): % : Eybler_TuiSuntCoeli_HV78_Score_%.pdf $(SRCS)
$(OUT)/%.mp3 : %.midi
timidity -c /etc/timidity/fluidr3_gm.cfg -OwM $< -o $@
%.pdf : $(SRCS)
lilypond $<
tex: latex
latex: $(texpdfs)
$(OUT)/TeX_%.pdf : TeX_%.tex
TEXINPUTS=$(OUT): latex --output-directory=$(OUT)/ $<
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment