Don't change color of links in latex, don't use border around, either.
[orchestrallily.git] / Templates / Makefile
blob4d248b4d68d6b55a209825a55b815e0096e5b852
1 base = %(basename)s
2 SRCS = %(srcfiles)s $(base)_Settings.ily
3 OUT=out
5 instruments = %(instruments)s
6 scores = %(scores)s
8 pdfs = $(instruments:%%=$(OUT)/$(base)_Instrument_%%.pdf) $(scores:%%=$(OUT)/$(base)_Score_%%.pdf)
9 texs = $(scores:%%=TeX_$(base)_Score_%%.tex)
10 texpdfs = $(scores:%%=$(OUT)/TeX_$(base)_Score_%%.pdf) $(OUT)/TeX_$(base)_Score_Instruments.pdf
13 .PHONY: all clean
14 all: $(OUT) $(instruments) $(scores) tex
15 instruments: $(instruments)
16 scores: $(scores)
18 clean:
19 rm -rf $(OUT)
21 $(OUT) :
22 mkdir -p $(OUT)
24 $(instruments): %% : $(OUT)/$(base)_Instrument_%%.pdf $(SRCS)
25 $(scores): %% : $(OUT)/$(base)_Score_%%.pdf $(SRCS)
27 $(OUT)/%%.pdf : %%.ly $(SRCS)
28 lilypond -o $(basename $@) $<
30 $(OUT)/%%.mp3 : %%.midi
31 timidity -c /etc/timidity/fluidr3_gm.cfg -OwM $< -o $@
33 tex: latex
34 latex: $(texpdfs)
36 $(OUT)/TeX_%%.pdf : TeX_%%.tex
37 TEXINPUTS=$(OUT): latex --output-directory=$(OUT)/ $<