Browse Source

Allow local lilypond binary, add local-install directory

A directory local-install is created where all files are ignored.
This is a place to add local custom stuff like symlinks to a
LilyPond binary or openLilyLib without messing with the repository
and paths other users may have.

For now we expect two symlinks:
* lilypond
* openlilylib
Urs Liska 1 year ago
parent
commit
189a1430d6
4 changed files with 6 additions and 2 deletions
  1. 3
    1
      .gitignore
  2. 2
    1
      latex/kayservolume.lua
  3. 1
    0
      latex/kayservolume.sty
  4. 0
    0
      local-install/.forcedir

+ 3
- 1
.gitignore View File

@@ -28,6 +28,8 @@ tmp_ly*
28 28
 
29 29
 /documentation/contributing.tex
30 30
 /documentation/technical-documentation.tex
31
-/openlilylib
31
+
32
+# directory where symlinks to (individual) local paths are stored
33
+/local-install/*
32 34
 
33 35
 /cache/*

+ 2
- 1
latex/kayservolume.lua View File

@@ -121,5 +121,6 @@ function kayser.set_option(k, v)
121 121
   end
122 122
 end
123 123
 
124
-kayser.openlilylib = repo.root()..'openlilylib'
124
+kayser.openlilylib = repo.root()..'/local-install/openlilylib'
125
+kayser.lilypond = repo.root()..'/local-install/lilypond'
125 126
 return kayser

+ 1
- 0
latex/kayservolume.sty View File

@@ -10,6 +10,7 @@ nofragment,%
10 10
 indent=2.4cm,%
11 11
 tmpdir=cache,%
12 12
 pass-fonts,%
13
+program=\directlua{tex.sprint(kayser.lilypond)},%
13 14
 includepaths=\directlua{tex.sprint(kayser.openlilylib)}]{lyluatex}
14 15
 
15 16
 % Command to set options

+ 0
- 0
local-install/.forcedir View File