mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-12 04:28:22 -05:00
This fixes the errors during the compilation of Architecture.xml that the .map files cannot be found. As a result, the architure diagrams become clickable in the HTML document once again. Signed-off-by: Pekka Paalanen <pq@iki.fi>
35 lines
733 B
Meson
35 lines
733 B
Meson
foreach src : files([
|
|
'icon.svg',
|
|
'wayland.png',
|
|
])
|
|
name = fs.name(src)
|
|
publican_inputs += fs.copyfile(
|
|
name,
|
|
install: true,
|
|
install_dir: publican_install_prefix + '/html/images',
|
|
)
|
|
endforeach
|
|
|
|
foreach src : files([
|
|
'wayland-architecture.gv',
|
|
'x-architecture.gv',
|
|
])
|
|
input = fs.name(src)
|
|
output = fs.stem(src) + '.png'
|
|
|
|
publican_inputs += custom_target(
|
|
input + '.png',
|
|
command: [ dot, '-Tpng', '-o@OUTPUT@', '@INPUT@' ],
|
|
input: input,
|
|
output: output,
|
|
install: true,
|
|
install_dir: publican_install_prefix + '/html/images',
|
|
)
|
|
|
|
publican_image_maps += custom_target(
|
|
input + '.map',
|
|
command: [ dot, '-Tcmapx_np', '-o@OUTPUT@', '@INPUT@' ],
|
|
input: input,
|
|
output: fs.stem(src) + '.map',
|
|
)
|
|
endforeach
|