Commit 27f9a9b7 authored by Reinhold Kainhofer's avatar Reinhold Kainhofer

Re-generate output, handle include path in latex

parent 89a6e076
......@@ -10,7 +10,7 @@ texpdfs = $(scores:%=$(OUT)/TeX_Eybler_Graduale_SperateInDeo_HV41_Score_%.pdf)
.PHONY: all clean
all: $(instruments) $(scores) Eybler_Graduale_SperateInDeo_HV41_Music_AdditionalMeasures.pdf
all: $(OUT) $(instruments) $(scores) $(OUT)/Eybler_Graduale_SperateInDeo_HV41_Music_AdditionalMeasures.pdf tex
instruments: $(instruments)
scores: $(scores)
......@@ -25,19 +25,20 @@ clean:
$(instruments): % : $(OUT)/Eybler_Graduale_SperateInDeo_HV41_Instrument_%.pdf $(SRCS)
$(scores): % : $(OUT)/Eybler_Graduale_SperateInDeo_HV41_Score_%.pdf $(SRCS)
$(OUT)/%.pdf : %.ly $(SRCS) $(OUT)
$(OUT)/%.pdf : %.ly $(SRCS)
lilypond -o $(basename $@) $<
$(OUT)/Eybler_Graduale_SperateInDeo_HV41_Music_AdditionalMeasures.pdf: Eybler_Graduale_SperateInDeo_HV41_Music_AdditionalMeasures.ly
lilypond -dbackend=eps -o $(basename $@) $<
$(OUT)/%.mp3 : %.midi $(OUT)
$(OUT)/%.mp3 : %.midi
timidity -c /etc/timidity/fluidr3_gm.cfg -OwM $< -o $@
tex: $(OUT)/Eybler_Graduale_SperateInDeo_HV41_Music_AdditionalMeasures.pdf $(texpdfs)
tex: $(OUT)/Eybler_Graduale_SperateInDeo_HV41_Music_AdditionalMeasures.pdf latex
latex: $(texpdfs)
$(OUT) :
mkdir -p $(OUT)
$(OUT)/TeX_%.pdf : TeX_%.tex $(OUT)
latex --output-directory=$(OUT)/ $<
$(OUT)/TeX_%.pdf : TeX_%.tex
TEXINPUTS=$(OUT): latex --output-directory=$(OUT)/ $<
*.aux
*.blg
*.log
*.toc
*.bbl
*~
*.ps
*.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