summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-09-09 15:10:57 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-09-09 15:12:47 +0200
commit4ec57607714d2bc977b1219e72f82d22cbec144c (patch)
treeca171478a3b5ed41b12aae3be900553b810d65b2 /doc
parente25a56077c27a83d8b3e6574368a271d3b9ff7fa (diff)
downloadefl-4ec57607714d2bc977b1219e72f82d22cbec144c.tar.gz
evas_filter_parser: add a workaround for in-tree runs
Without this, the prefix would get pointed to something like /path/to/efl/build/share/evas, which is not a valid path when building. That would cause the docs build to fail.
Diffstat (limited to 'doc')
-rw-r--r--doc/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/meson.build b/doc/meson.build
index a362c6d2ba..576d2fed4f 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -114,7 +114,11 @@ foreach text_filter_property : text_filter_properties
filter_code = run_command('cat', join_paths(meson.source_root(), 'src', 'examples', 'evas', 'filters', 'filter_'+name+'.lua'))
doc_target += custom_target('preview_text_filters_'+name,
- command: [env, 'EFL_RUN_IN_TREE=1', preview_text_filter.full_path(), text, filter_code.stdout(), '@OUTPUT@', font, size],
+ command: [
+ env, 'EFL_RUN_IN_TREE=1',
+ 'EFL_EVAS_FILTER_LUA_PREFIX=' + join_paths(meson.source_root(), 'src', 'lib', 'evas'),
+ preview_text_filter.full_path(), text, filter_code.stdout(), '@OUTPUT@', font, size
+ ],
depends: preview_text_filter,
output: 'filter_'+name+'.png',
build_by_default: false