Use relative path for includes.
authorrekado <rekado@elephly.net>
Sun, 5 Jun 2016 10:38:08 +0000 (12:38 +0200)
committerrekado <rekado@elephly.net>
Sun, 5 Jun 2016 10:38:08 +0000 (12:38 +0200)
02-song2/music/guitar.ly
02-song2/parts/bass.ly
02-song2/parts/keys.ly
02-song2/parts/stick.ly
targets.mk

index 1b86e5b..6fa0ba9 100644 (file)
@@ -1,4 +1,4 @@
-\include "music/stick.ly"
+\include "../music/stick.ly"
 guitarBreak = {
   \stickIntroLeft
   \stickStanzaLeft
index b323323..25e90cb 100644 (file)
@@ -7,8 +7,8 @@
   copyright = \markup { \char ##x00A9 "2002—2016 Ricardo Wurmus" }
 }
 
-\include "../settings.ly"
-\include "music/bass.ly"
+\include "../../settings.ly"
+\include "../music/bass.ly"
 
 \score {
   \compressMMRests { \bass }
index df4da9b..7fbecc4 100644 (file)
@@ -7,8 +7,8 @@
   copyright = \markup { \char ##x00A9 "2002—2016 Ricardo Wurmus" }
 }
 
-\include "../settings.ly"
-\include "music/keys.ly"
+\include "../../settings.ly"
+\include "../music/keys.ly"
 
 \score {
   \new Staff \with {
index 5358c59..1375af3 100644 (file)
@@ -7,8 +7,8 @@
   copyright = \markup { \char ##x00A9 "2002—2016 Ricardo Wurmus" }
 }
 
-\include "../settings.ly"
-\include "music/stick.ly"
+\include "../../settings.ly"
+\include "../music/stick.ly"
 
 \score {
   \new PianoStaff = "grand stick" \with {
index eb3a643..c4e7fe9 100644 (file)
@@ -3,7 +3,7 @@ SOUNDFONT = $(HOME)/soundfonts/FluidR3GM.sf2
 # Determine how many processors are present
 CPU_CORES=`grep -m1 "cpu cores" /proc/cpuinfo | tr -cd '[:digit:]'`
 # The command to run lilypond
-LILY_CMD = lilypond -ddelete-intermediate-files -djob-count=$(CPU_CORES)
+LILY_CMD = lilypond -ddelete-intermediate-files -drelative-includes -djob-count=$(CPU_CORES)
 
 parts/%.pdf: parts/%.ly music/%.ly
        $(LILY_CMD) $<