summaryrefslogtreecommitdiff
path: root/Machdatei
diff options
context:
space:
mode:
Diffstat (limited to 'Machdatei')
-rw-r--r--Machdatei22
1 files changed, 14 insertions, 8 deletions
diff --git a/Machdatei b/Machdatei
index fcd9eaf..fedce7a 100644
--- a/Machdatei
+++ b/Machdatei
@@ -1,14 +1,20 @@
! ^%DIRNAME/hr$
! /chr$
! /a5$
-! /.git/
+! /\.git/
-r %DIRNAME
-%nurohne'/parts/'%dirname/%dirname(-1).pdf:
-%nurmit'/parts/'%dirname(0,-1)/%dirname(-2,-1).pdf:
- ^%DIRNAME/.*/.*\.ly$
+%nurohne(0)'/parts/'%dirname(0)/%dirname(0,-1).pdf:
+%nurmit(0)'/parts/'%dirname(0,0,-1)/%dirname(0,-2,-1).pdf:
- %nurmit'%dirname/%dirname(-1).ly' \
- echo "lilypond %ifile"; \
- cd %dirname; \
- lilypond %ifile;
+ ^%DIRNAME/.*/.*\.ly$
+
+ %nurohne(0)'/parts/' \
+ echo "lilypond %dirname(0)/%dirname(0,-1).ly"; \
+ cd %dirname(0); \
+ lilypond %dirname(0,-1).ly;
+
+ %nurmit(0)'/parts/' \
+ echo "lilypond %dirname(0,0,-1)/%dirname(0,-1).ly"; \
+ cd %dirname(0,0,-1); \
+ lilypond %dirname(0,-1).ly;