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 = [] if sassc.found() 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 endif