diff options
author | Ernestas Kulik <ernestask@src.gnome.org> | 2016-09-28 09:16:11 +0300 |
---|---|---|
committer | Ernestas Kulik <ernestask@src.gnome.org> | 2017-02-24 00:24:27 +0200 |
commit | ed5652c89ac0654df2e82b54b00b27d51c825465 (patch) | |
tree | fa5f60a817818116e871c12a69ebcf73bbf2721f /docs/reference | |
parent | 728300331dc5caa6142704e0e4cd70004bf0037a (diff) | |
download | nautilus-ed5652c89ac0654df2e82b54b00b27d51c825465.tar.gz |
general: add support for Meson
Since it’s 2017 already, Nautilus should use a build system that doesn’t
take longer to set up the build than it takes to actually build. An
observed build time using Ninja of roughly one-fifth of what it took
Autotools is more than reason enough to add support for Meson. Along
with that, this commit adds a convenience script to generate a tarball
for releases, since we use libgd as a submodule and Meson does not
handle source distributions.
https://bugzilla.gnome.org/show_bug.cgi?id=778167
Diffstat (limited to 'docs/reference')
-rw-r--r-- | docs/reference/libnautilus-extension/meson.build | 13 | ||||
-rw-r--r-- | docs/reference/meson.build | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/docs/reference/libnautilus-extension/meson.build b/docs/reference/libnautilus-extension/meson.build new file mode 100644 index 000000000..3cb53d82b --- /dev/null +++ b/docs/reference/libnautilus-extension/meson.build @@ -0,0 +1,13 @@ +docs_conf = configuration_data () +docs_conf.set ('NAUTILUS_EXTENSION_VERSION_INFO', nautilus_extension_version) + +docs_version = configure_file (input: 'version.xml.in', + output: 'version.xml', + configuration: docs_conf) + +gnome.gtkdoc ('libnautilus-extension', + main_xml: 'libnautilus-extension-docs.xml', + src_dir: join_paths (meson.source_root (), 'libnautilus-extension'), + dependencies: nautilus_extension, + install: true, + scan_args: ['--ignore-headers=nautilus-extension-private.h']) diff --git a/docs/reference/meson.build b/docs/reference/meson.build new file mode 100644 index 000000000..46b538208 --- /dev/null +++ b/docs/reference/meson.build @@ -0,0 +1 @@ +subdir ('libnautilus-extension') |