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 1b86e5b3026801e57de3a97b2ffc5fd92dc6046c..6fa0ba944b40e9b0c14447a2929e26080a75433b 100644 (file)
@@ -1,4 +1,4 @@
-\include "music/stick.ly"
+\include "../music/stick.ly"
 guitarBreak = {
   \stickIntroLeft
   \stickStanzaLeft
index b323323719b673813220635b4cb21e8d62381ae2..25e90cb07283638b5e310f57db4fef5762439dc8 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 df4da9b556815f1a3da5e26706c6520aad11dec4..7fbecc49c34b253cc5fe13475e644ba4ced646e3 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 5358c592d74c53cdbf684013e8b4f073c8b0690d..1375af3e0ffd943c05126852be1beb2a03f55069 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 eb3a6431cc6cfa72da51521f6f48e1dd1fd94888..c4e7fe9c8437ac0764a919aff04ad9365b0e66ba 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) $<