summaryrefslogtreecommitdiff
path: root/Konzerte/2018_05_26/Makefile
blob: ecf394309b9c11ea0b98c2c49d0bb145dd56582d (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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)@" "$<" > "$@"

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

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

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

The_armed_man_%.pre: ../../The_armed_man/parts/%.ly numeriere
	./numeriere "$@" < "$<" > "$@"

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/*_Gloria.ly \
 ../../Gloria_in_D/parts/*_Domine.ly \
 ../../Gloria_in_D/parts/*_Agnus.ly \
 ../../Gloria_in_D/parts/*_Quoniam.ly \
 The_armed_man_Der_bewaffnete_Mann.pre \
 The_armed_man_Kyrie.pre \
 The_armed_man_Sanctus.pre \
 The_armed_man_Agnus_Dei.pre \
 The_armed_man_Benedictus.pre \
 The_armed_man_Frieden_ist_besser.pre \
 Messias_XLII.pre \
 satz_Du_bist_der_Ehrenkoenig.pre \
 Gloria_in_D_Gloria.pre \
 Gloria_in_D_Domine.pre \
 Gloria_in_D_Agnus.pre \
 Gloria_in_D_Quoniam.pre \
 seiten.ly
	lilypond $<