summaryrefslogtreecommitdiff
path: root/Konzerte/2018_05_26/Makefile
blob: 33ec0d43af8cd7b2d9ba600465e8b045526da07f (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
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/*_Gloria.ly \
 ../../Gloria_in_D/parts/*_Domine.ly \
 ../../Gloria_in_D/parts/*_Agnus.ly \
 ../../Gloria_in_D/parts/*_QuiTollis.ly \
 ../../Gloria_in_D/parts/*_Quoniam.ly \
 ../../The_armed_man/parts/*.ly \
 XLII.pre \
 satz_Du_bist_der_Ehrenkoenig.pre \
 Gloria.pre Domine.pre Agnus.pre QuiTollis.pre Quoniam.pre
	lilypond $<