build: make edje files dependencies of the theme

this makes theme work way more easier
This commit is contained in:
Marcel Hollerbach 2018-12-18 16:07:24 +01:00
parent 8a617fda97
commit 7a5fbd1db6
1 changed files with 2 additions and 0 deletions

View File

@ -9,8 +9,10 @@ elm_themes_image_include = join_paths(meson.current_source_dir(), 'img')
foreach edc_file : edc_files
elm_themes += custom_target('edje_cc_' + edc_file,
input : edc_file,
depfile: '@BASENAME@.edj.d',
output : '@BASENAME@.edj',
command : edje_cc_exe + [ '-beta',
'-deps', '@DEPFILE@',
'-sd', join_paths(meson.current_source_dir(), 'snd'),
'-id', elm_themes_image_include,
'-id', join_paths(meson.current_source_dir(), 'fdo'),