diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2023-05-09 19:48:42 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-05-09 19:48:42 -0400 |
commit | 740d926eee9f7cf15fb9fb94a38b367ba3f6595c (patch) | |
tree | e427232b340306242214c915c739c83c49a7fd48 /docs/meson.build | |
parent | 9de07ff4d7112e47ecbd6bc05da4f4a8cfdecc23 (diff) | |
download | meson-740d926eee9f7cf15fb9fb94a38b367ba3f6595c.tar.gz |
docs: add meson option to use the unsafe loader
Diffstat (limited to 'docs/meson.build')
-rw-r--r-- | docs/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/meson.build b/docs/meson.build index 159ebc965..812a9ae7a 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -17,6 +17,7 @@ docs_gen = custom_target( sitemap = files('sitemap.txt') +yaml_loader = get_option('unsafe_yaml') ? 'fastyaml' : 'yaml' genrefman = find_program('./genrefman.py') refman_binary = custom_target( 'gen_refman_bin', @@ -25,7 +26,7 @@ refman_binary = custom_target( depfile: 'reman_dep.d', command: [ genrefman, - '-l', 'yaml', + '-l', yaml_loader, '-g', 'pickle', '-o', '@OUTPUT@', '--depfile', '@DEPFILE@', |