Change relative paths.
authorRicardo Wurmus <rekado@elephly.net>
Fri, 24 Feb 2017 19:43:20 +0000 (20:43 +0100)
committerRicardo Wurmus <rekado@elephly.net>
Fri, 24 Feb 2017 19:56:35 +0000 (20:56 +0100)
01-song1/music/stick.ly
02-song2/music/stick.ly
03-circus/music/stick.ly
04-white-noise/music/stick.ly
rules.mk

index 66f9460..6f6bd54 100644 (file)
@@ -1,4 +1,4 @@
-\include "../stafftab.ly"
+\include "../../stafftab.ly"
 
 stickIntroLeft = \relative c, {
   r8 b-1\8\f cis-4\8 r \parenthesize <cis'-1\10 gis'-1\11>\pp r <cis-1\10 gis'-1\11>\f cis,-4\8 |
index 4815944..adfcfb8 100644 (file)
@@ -1,4 +1,4 @@
-\include "../stafftab.ly"
+\include "../../stafftab.ly"
 \include "../music/guitar.ly"
 
 stickBreak = \unfoldRepeats \guitar
index 0fef7cf..077c787 100644 (file)
@@ -1,4 +1,4 @@
-\include "../stafftab.ly"
+\include "../../stafftab.ly"
 
 stickA = \relative c'' {
   g8 gis-. g-. gis-. | a-. gis16 g8.-. gis8-. |
index 8445aec..56b6d73 100644 (file)
@@ -1,4 +1,4 @@
-\include "../stafftab.ly"
+\include "../../stafftab.ly"
 
 stickIntro = {
   \time 4/4 { R1*8 }
index 9420e6a..1a85976 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -4,13 +4,13 @@ $(NAME)/$(NAME).wav: $(NAME)/$(NAME).midi
        fluidsynth -r 48000 -F $@ -l -R no -i -n -a alsa $(SOUNDFONT) $<
 
 $(NAME)/parts/%.pdf: $(NAME)/parts/%.ly $(NAME)/music/%.ly
-       $(LILY_CMD) $<
+       $(LILY_CMD) --output=$(dir $@) $<
 
 $(NAME)/$(NAME).pdf: $(NAME)/$(NAME).ly $(wildcard $(NAME)/music/*.ly)
-       $(LILY_CMD) $<
+       $(LILY_CMD) --output=$(dir $@) $<
 
 $(NAME)/$(NAME).midi: $(NAME)/$(NAME).ly $(wildcard $(NAME)/music/*.ly)
-       $(LILY_CMD) $<
+       $(LILY_CMD) --output=$(dir $@) $<
 
 $(NAME)/$(NAME)-klick-mono.wav: $(NAME)/$(NAME).tempo
        klick -W $@ -f $<