summaryrefslogtreecommitdiff
path: root/Konzerte/2018_12_08/Makefile
blob: bad28d60168c42b958183dd993558027f0b7198e (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
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
	pkill -SIGHUP -xf 'mupdf(-x11)? (.*/)?$<' || true

clean:
	rm -f *.pre

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

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

satz_Es_ist_ein_Ros_entsprungen.pre: ../../Es_ist_ein_Ros_entsprungen/satz.ly numeriere
	grep -v 'textIV' "$<" | ./numeriere "$@" > "$@"

satz_%.pre: ../../%/satz.ly numeriere
	./numeriere "$@" < "$<" > "$@"

%_texte.pre: ../../%/texte.ly
	sed ' /set stanza/ { s/\("\)\([12]\."\)/\1Solo \2/; s/\("\)\(3\."\)/\1Chor \2/}' "$<" > "$@"

Uns_ist_ein_Kind_geboren_%.pre: ../../Uns_ist_ein_Kind_geboren/parts/%.ly numeriere
	./numeriere "$@" < "$<" > "$@"

Missa_brevis_in_C_%.pre: ../../Missa_brevis_in_C/parts/%.ly numeriere
	./numeriere "$@" < "$<" > "$@"

Missa_brevis_%.pre: ../../Missa_brevis/parts/%.ly numeriere
	./numeriere "$@" < "$<" > "$@"

alles.pdf: alles.pre \
 ../../Tochter_Zion/artikulation.ly \
 ../../Tochter_Zion/stimmen.ly \
 Tochter_Zion_texte.pre \
 satz_Tochter_Zion.pre \
 ../../Uns_ist_ein_Kind_geboren/parts/artikulation_II_Chor.ly \
 ../../Uns_ist_ein_Kind_geboren/parts/stimmen_II_Chor.ly \
 ../../Uns_ist_ein_Kind_geboren/parts/texte_II_Chor.ly \
 ../../Uns_ist_ein_Kind_geboren/parts/artikulation_IV_Chor.ly \
 ../../Uns_ist_ein_Kind_geboren/parts/stimmen_IV_Chor.ly \
 ../../Uns_ist_ein_Kind_geboren/parts/texte_IV_Chor.ly \
 ../../Uns_ist_ein_Kind_geboren/parts/artikulation_VIII_Choral.ly \
 ../../Uns_ist_ein_Kind_geboren/parts/stimmen_VIII_Choral.ly \
 ../../Uns_ist_ein_Kind_geboren/parts/texte_VIII_Choral.ly \
 Uns_ist_ein_Kind_geboren_II_Chor.pre \
 Uns_ist_ein_Kind_geboren_IV_Chor.pre \
 Uns_ist_ein_Kind_geboren_VIII_Choral.pre \
 ../../Es_ist_ein_Ros_entsprungen/artikulation.ly \
 ../../Es_ist_ein_Ros_entsprungen/stimmen.ly \
 Es_ist_ein_Ros_entsprungen_texte.pre \
 satz_Es_ist_ein_Ros_entsprungen.pre \
 ../../Missa_brevis_in_C/parts/artikulation_kyrie.ly \
 ../../Missa_brevis_in_C/parts/stimmen_kyrie.ly \
 ../../Missa_brevis_in_C/parts/texte_kyrie.ly \
 ../../Missa_brevis_in_C/parts/artikulation_gloria.ly \
 ../../Missa_brevis_in_C/parts/stimmen_gloria.ly \
 ../../Missa_brevis_in_C/parts/texte_gloria.ly \
 ../../Missa_brevis_in_C/parts/artikulation_domine_fili_unigenite.ly \
 ../../Missa_brevis_in_C/parts/stimmen_domine_fili_unigenite.ly \
 ../../Missa_brevis_in_C/parts/texte_domine_fili_unigenite.ly \
 ../../Missa_brevis_in_C/parts/artikulation_quoniam_tu_solus_sanctus.ly \
 ../../Missa_brevis_in_C/parts/stimmen_quoniam_tu_solus_sanctus.ly \
 ../../Missa_brevis_in_C/parts/texte_quoniam_tu_solus_sanctus.ly \
 ../../Missa_brevis_in_C/parts/artikulation_sanctus.ly \
 ../../Missa_brevis_in_C/parts/stimmen_sanctus.ly \
 ../../Missa_brevis_in_C/parts/texte_sanctus.ly \
 ../../Missa_brevis_in_C/parts/artikulation_agnus_dei.ly \
 ../../Missa_brevis_in_C/parts/stimmen_agnus_dei.ly \
 ../../Missa_brevis_in_C/parts/texte_agnus_dei.ly \
 Missa_brevis_in_C_kyrie.pre \
 Missa_brevis_in_C_gloria.pre \
 Missa_brevis_in_C_domine_fili_unigenite.pre \
 Missa_brevis_in_C_quoniam_tu_solus_sanctus.pre \
 Missa_brevis_in_C_sanctus.pre \
 Missa_brevis_in_C_agnus_dei.pre \
 ../../Koenig_mild_vertreibt_die_Finsternis/artikulation.ly \
 ../../Koenig_mild_vertreibt_die_Finsternis/stimmen.ly \
 ../../Koenig_mild_vertreibt_die_Finsternis/texte.ly \
 satz_Koenig_mild_vertreibt_die_Finsternis.pre \
 ../../Missa_brevis/parts/artikulation_Gloria.ly \
 ../../Missa_brevis/parts/stimmen_Gloria.ly \
 ../../Missa_brevis/parts/texte_Gloria.ly \
 ../../Missa_brevis/parts/artikulation_Benedictus.ly \
 ../../Missa_brevis/parts/stimmen_Benedictus.ly \
 ../../Missa_brevis/parts/texte_Benedictus.ly \
 ../../Missa_brevis/parts/artikulation_Agnus_Dei.ly \
 ../../Missa_brevis/parts/stimmen_Agnus_Dei.ly \
 ../../Missa_brevis/parts/texte_Agnus_Dei.ly \
 Missa_brevis_Gloria.pre \
 Missa_brevis_Benedictus.pre \
 Missa_brevis_Agnus_Dei.pre \
 seiten.ly
	lilypond $<