Refactor Include System
This commit is contained in:
14
lilypond-custom-includes/base_config.ily
Normal file
14
lilypond-custom-includes/base_config.ily
Normal file
@@ -0,0 +1,14 @@
|
||||
#(ly:set-option 'relative-includes #t)
|
||||
#(define include-path-unextended (if (defined? 'include-path-unextended) include-path-unextended #t))
|
||||
#(if include-path-unextended
|
||||
(let* ((custom-include-dir (dirname (current-filename)))
|
||||
(project-dir (dirname custom-include-dir))
|
||||
(pool-dir (string-append project-dir file-name-separator-string "lilypond-song-includes")))
|
||||
(ly:parser-append-to-include-path custom-include-dir)
|
||||
(ly:parser-append-to-include-path pool-dir))
|
||||
(set! include-path-unextended #f))
|
||||
|
||||
customStyleOverridesFile = "custom_style_overrides.ily"
|
||||
|
||||
\include "categories.ily"
|
||||
\include "../lilypond-common-includes/public_includes/layout_top.ily"
|
Reference in New Issue
Block a user