diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:39:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:39:48 +0000 |
commit | 3ade071f273aaa973e44bf95d6b1d4913a18f03b (patch) | |
tree | e2f99d267ae18427645404f215b984afbe73098d /docs/reference/meson.build | |
parent | Initial commit. (diff) | |
download | nautilus-3ade071f273aaa973e44bf95d6b1d4913a18f03b.tar.xz nautilus-3ade071f273aaa973e44bf95d6b1d4913a18f03b.zip |
Adding upstream version 43.2.upstream/43.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs/reference/meson.build')
-rw-r--r-- | docs/reference/meson.build | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/reference/meson.build b/docs/reference/meson.build new file mode 100644 index 0000000..b617ba9 --- /dev/null +++ b/docs/reference/meson.build @@ -0,0 +1,31 @@ +toml_data = configuration_data() +toml_data.set('VERSION', meson.project_version()) + +nautilus_toml = configure_file( + input: 'nautilus.toml.in', + output: 'nautilus.toml', + configuration: toml_data, +) + +custom_target( + 'nautilus-doc', + input: [ + nautilus_toml, + nautilus_extension_gir[0], + ], + output: 'nautilus', + command: [ + gi_docgen, + 'generate', + '--quiet', + '--add-include-path=@0@'.format(meson.project_source_root() / 'libnautilus-extension'), + '--config=@INPUT0@', + '--output-dir=@OUTPUT@', + '--no-namespace-dir', + '--content-dir=@0@'.format(meson.current_source_dir()), + '@INPUT1@', + ], + build_by_default: true, + install: true, + install_dir: docdir, +) |