2018-01-11 17:57:21 +01:00
|
|
|
valadoc = find_program('valadoc')
|
|
|
|
|
2020-03-06 16:47:25 +01:00
|
|
|
mutter_packages_command = []
|
|
|
|
foreach dep : mutter_dep
|
|
|
|
mutter_packages_command += [ '--pkg', dep.name() ]
|
|
|
|
endforeach
|
|
|
|
|
2018-01-11 17:57:21 +01:00
|
|
|
basic_command = [
|
|
|
|
valadoc,
|
|
|
|
'--force',
|
|
|
|
'--verbose',
|
|
|
|
'--package-name','gala',
|
|
|
|
'--package-version', '0.0.0',
|
2020-03-06 16:47:25 +01:00
|
|
|
'--driver', vala.version(),
|
2018-01-11 17:57:21 +01:00
|
|
|
mutter_packages_command,
|
2024-08-20 21:59:52 +02:00
|
|
|
'--pkg', 'atk-bridge-2.0',
|
2018-01-11 17:57:21 +01:00
|
|
|
'--pkg', 'gnome-desktop-3.0',
|
|
|
|
'--pkg', 'gtk+-3.0',
|
|
|
|
'--pkg', 'gee-0.8',
|
|
|
|
'--pkg', 'gio-unix-2.0',
|
|
|
|
'--pkg', 'gmodule-2.0',
|
2024-02-14 18:31:33 +01:00
|
|
|
'--pkg', 'posix',
|
|
|
|
'--pkg', 'libcanberra',
|
|
|
|
'--pkg', 'sqlite3',
|
|
|
|
'--pkg', 'libsystemd',
|
|
|
|
'--pkg', 'granite',
|
2018-01-11 17:57:21 +01:00
|
|
|
'--pkg', 'config',
|
|
|
|
vala_flags,
|
|
|
|
'--vapidir=' + join_paths(meson.build_root(), 'lib'),
|
2023-02-21 20:05:43 +01:00
|
|
|
'--vapidir=' + join_paths(meson.global_source_root(), 'vapi'),
|
2018-01-11 17:57:21 +01:00
|
|
|
'--doclet=html',
|
|
|
|
'--use-svg-images'
|
|
|
|
]
|
|
|
|
|
|
|
|
doc_target = custom_target(
|
|
|
|
'library documentation',
|
|
|
|
command: [
|
|
|
|
basic_command,
|
|
|
|
'-o', '@OUTPUT@',
|
|
|
|
'@INPUT@'
|
|
|
|
],
|
|
|
|
build_by_default: true,
|
|
|
|
input: gala_lib_sources,
|
|
|
|
output: 'library'
|
|
|
|
)
|
|
|
|
|
|
|
|
all_doc_target = custom_target(
|
|
|
|
'full documentation',
|
|
|
|
command: [
|
|
|
|
basic_command,
|
|
|
|
'--internal',
|
|
|
|
'--pkg', 'granite',
|
|
|
|
'--pkg', 'gnome-desktop-3.0',
|
|
|
|
'--pkg', 'gmodule-2.0',
|
2024-05-24 13:03:08 +02:00
|
|
|
'--pkg', 'wayland-server',
|
|
|
|
'--pkg', 'pantheon-desktop-shell',
|
|
|
|
'--vapidir=' + join_paths(meson.global_source_root(), 'protocol'),
|
2018-01-11 17:57:21 +01:00
|
|
|
'-o', '@OUTPUT@',
|
|
|
|
'@INPUT@'
|
|
|
|
],
|
|
|
|
build_by_default: true,
|
|
|
|
input: gala_lib_sources + gala_bin_sources,
|
|
|
|
output: 'full'
|
|
|
|
)
|