Code generation messes with the actual source directory and makes it impossible to use tools like clippy without having generated the config via meson.
14 lines
No EOL
363 B
Meson
14 lines
No EOL
363 B
Meson
scalable_dir = 'hicolor' / 'scalable' / 'apps'
|
|
|
|
install_data(
|
|
scalable_dir / '@0@.svg'.format(app_id),
|
|
install_dir: datadir / 'icons' / scalable_dir,
|
|
)
|
|
|
|
symbolic_dir = 'hicolor' / 'symbolic' / 'apps'
|
|
|
|
install_data(
|
|
symbolic_dir / 'org.gnome.Loupe-symbolic.svg',
|
|
install_dir: datadir / 'icons' / symbolic_dir,
|
|
rename: '@0@-symbolic.svg'.format(app_id),
|
|
) |