Refactor Include System

This commit is contained in:
2025-09-17 10:40:28 +02:00
parent 7efdaedc35
commit bf692d90f1
11 changed files with 112 additions and 19 deletions

View 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"