summaryrefslogtreecommitdiff
path: root/Wer_kann_segeln/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-08 19:57:36 +0200
committerErich Eckner <git@eckner.net>2018-09-08 19:57:36 +0200
commit5772b12cf68053ec15d7dd091b924b8946b7c090 (patch)
tree8fa9ef72cc6bad9b7104f0622f20ffec426358df /Wer_kann_segeln/Makefile
parenta41f4bcb83590d0b3ba5f2e9a94c10dedd628fcf (diff)
downloadMusik-5772b12cf68053ec15d7dd091b924b8946b7c090.tar.xz
Wer_kann_segeln: mehr Text + Makefile
Diffstat (limited to 'Wer_kann_segeln/Makefile')
-rw-r--r--Wer_kann_segeln/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Wer_kann_segeln/Makefile b/Wer_kann_segeln/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Wer_kann_segeln/Makefile
@@ -0,0 +1,23 @@
+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: $(CURDOC).pdf
+
+clean:
+ rm -f *.pre
+
+Clean: clean
+ rm -f *.pdf *.midi
+
+%.pre: %.ly
+ sed "s@%spezifisch%@$(SPEZIFISCH)@" "$<" > "$@"
+
+%.pdf: %.pre *.ly
+ lilypond $<
+