summaryrefslogtreecommitdiff
path: root/Konzerte/2018_05_26/Makefile
blob: ceadb1310acc2c8b904161c9be5e2c444dd91062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
CURDOC=$(shell basename "$(CURDIR)")

ifeq ($(FUER),ewe)
  SPEZIFISCH=\#(set! paper-alist (cons '(\"kindle\" . (cons (* 210 mm) (* 130 mm))) paper-alist))\n\#(set-default-paper-size \"kindle\")
else
  SPEZIFISCH=
  # \#(set-global-staff-size 14)
endif

all: alles.pdf

clean:
	rm -f *.pre

Clean: clean
	rm -f *.pdf *.midi

alles.pre: alles.ly
	sed "s@%spezifisch%@$(SPEZIFISCH)@" "$<" > "$@"

%.pre: ../../Messias/parts/%.ly transpose
	./transpose "$<" "d c" > "$@"

satz_%.pre: ../../%/satz.ly
	./transpose "$<" "d c" > "$@"

%.pre: ../../Gloria_in_D/parts/%.ly transpose
	./transpose "$<" "d c" > "$@"

alles.pdf: alles.pre \
 ../../Messias/parts/stimmenXLII.ly \
 ../../Messias/parts/texteXLII.ly \
 ../../Du_bist_der_Ehrenkoenig/stimmen.ly \
 ../../Du_bist_der_Ehrenkoenig/texte.ly \
 ../../Gloria_in_D/parts/stimmen_*.ly \
 ../../Gloria_in_D/parts/texte_*.ly \
 XLII.pre \
 satz_Du_bist_der_Ehrenkoenig.pre \
 Agnus.pre Domine.pre Gloria.pre Gratias.pre QuiTollis.pre Quoniam.pre Sancto.pre
# satz_The_armed_man.pre
	lilypond $<