summaryrefslogtreecommitdiff
path: root/Konzerte/2018_05_26/Makefile
blob: acbd48195a76f645a89d9af9616cc03b15924352 (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
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)@" "$<" > "$@"

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

satz_%.pre: ../../%/satz.ly transpose 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/parts/*_Der_bewaffnete_Mann.ly \
 ../../The_armed_man/parts/*_Kyrie.ly \
 ../../The_armed_man/parts/*_Sanctus.ly \
 ../../The_armed_man/parts/*_Agnus_Dei.ly \
 ../../The_armed_man/parts/*_Benedictus.ly \
 ../../The_armed_man/parts/*_Frieden_ist_besser.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 $<