From 15d890c7c57f7cce8a84a90d639ab8b86959be62 Mon Sep 17 00:00:00 2001 From: Lucas Fryzek Date: Wed, 21 Aug 2024 23:21:39 +0100 Subject: build: switch to using meson --- tools/meta_tools.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/meta_tools.lua') diff --git a/tools/meta_tools.lua b/tools/meta_tools.lua index 006e156..3687a27 100644 --- a/tools/meta_tools.lua +++ b/tools/meta_tools.lua @@ -33,7 +33,8 @@ function meta_tools.write_link_file(name, links) end function meta_tools.get_note(note_name) - local file = io.open(string.format("build/%s.meta", note_name), "r") + local build_root = PANDOC_WRITER_OPTIONS.variables["build_root"] + local file = io.open(string.format("%s/%s.meta", build_root, note_name), "r") local note = {} for line in file:lines() do -- cgit v1.2.3