diff options
author | mouse <[email protected]> | 2023-05-26 00:13:22 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-05-25 16:13:22 +0000 |
commit | d1f6f9ba2ca0209a817faaa1b86e8064fad3fe39 (patch) | |
tree | 20923a93b16186b03d1166391247b09f9ca0affc /doc-build | |
parent | 14a52bc0ef62373c576421ae9bc59e77089d4dfa (diff) | |
download | mate-common-d1f6f9ba2ca0209a817faaa1b86e8064fad3fe39.tar.bz2 mate-common-d1f6f9ba2ca0209a817faaa1b86e8064fad3fe39.tar.xz |
Add meson compilation support (#36)
Diffstat (limited to 'doc-build')
-rw-r--r-- | doc-build/meson.build | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc-build/meson.build b/doc-build/meson.build new file mode 100644 index 0000000..1eedaff --- /dev/null +++ b/doc-build/meson.build @@ -0,0 +1,24 @@ +data_dir = join_paths(pkgdatadir, 'data') + +install_data('omf.make', + install_dir : data_dir +) + +install_data('xmldocs.make', + install_dir : data_dir +) + +doc_data = configuration_data() +doc_data.set('PACKAGE', meson.project_name()) +doc_data.set('VERSION', meson.project_version()) +doc_data.set('prefix', prefix) +doc_data.set('datarootdir', datadir ) +doc_data.set('datadir', datadir) +configure_file( + input : 'mate-doc-common.in', + output : 'mate-doc-common', + configuration : doc_data, + install : true, + install_mode: ['rwxr-xr-x', 'root', 'root'], + install_dir : bindir +) |