mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-05 13:29:50 -05:00
29 lines
564 B
Meson
29 lines
564 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',
|
||
|
|
)
|
||
|
|
endforeach
|