a347ed9912
find_program() defaults to require the program in question, and as failing to locate it is now fatal, there's no longer a need for checking whether it was found later. Spotted by Michael Catanzaro.
26 lines
725 B
Meson
26 lines
725 B
Meson
theme_sources = files([
|
|
'gnome-shell-high-contrast.scss',
|
|
'gnome-shell.scss',
|
|
'gnome-shell-sass/_colors.scss',
|
|
'gnome-shell-sass/_common.scss',
|
|
'gnome-shell-sass/_drawing.scss',
|
|
'gnome-shell-sass/_high-contrast-colors.scss'
|
|
])
|
|
|
|
styles = [
|
|
'gnome-shell-high-contrast',
|
|
'gnome-shell'
|
|
]
|
|
|
|
theme_deps = []
|
|
|
|
foreach style: styles
|
|
theme_deps += custom_target('style-' + style,
|
|
input: '@0@.scss'.format(style),
|
|
output: '@0@.css'.format(style),
|
|
command: [
|
|
sassc, '-a', '@INPUT@', '@OUTPUT@'
|
|
],
|
|
depend_files: theme_sources)
|
|
endforeach
|