forked from enlightenment/edi
build: Fix install location for template files
This commit is contained in:
parent
25339554b7
commit
d89ae75f82
|
@ -22,15 +22,16 @@ cmd = [ edje_cc,
|
|||
|
||||
skeleton_meta = ['eflproject', 'eflproject_python']
|
||||
|
||||
template_dir = join_paths(get_option('datadir'), 'edi', 'templates')
|
||||
foreach meta : skeleton_meta
|
||||
custom_target('meta ' + meta,
|
||||
input : meta + '.edc',
|
||||
output : meta + '.edj',
|
||||
command : cmd,
|
||||
install_dir: join_paths(get_option('prefix'), get_option('datadir'), 'edi', 'templates'),
|
||||
install_dir: template_dir,
|
||||
install: true,
|
||||
)
|
||||
out = join_paths(get_option('prefix'), get_option('datadir'), 'edi', 'templates') + '/' + meta + '.edj'
|
||||
out = join_paths(get_option('prefix'), template_dir, meta + '.edj')
|
||||
meson.add_install_script('chmod', 'a+r', out)
|
||||
endforeach
|
||||
|
||||
|
|
Loading…
Reference in New Issue