meson - use install_mode for theme

This commit is contained in:
Carsten Haitzler 2018-12-27 16:35:30 +00:00
parent db019b569e
commit a76a80da0b
3 changed files with 6 additions and 10 deletions

View File

@ -7,8 +7,7 @@ custom_target(src + '.edj',
input : src + '.edc',
output : src + '.edj',
command : cmd,
install_dir: join_paths(dir_data, proj, 'themes'),
install_dir : join_paths(dir_data, proj, 'themes'),
install_mode : 'rw-r--r--',
install : true
)
out = join_paths(dir_data, proj, 'themes', 'default.edj')
meson.add_install_script(chmod, 'a+r', out)

View File

@ -9,7 +9,6 @@ base_url = 'https://www.enlightenment.org/about-'
##### convenience variables for later
proj = meson.project_name()
ver = meson.project_version()
chmod = join_paths(meson.source_root(), 'meson/meson-chmod.sh')
##### dependencies
efl_version = '>= 1.19.0'

View File

@ -1,2 +0,0 @@
#!/bin/sh
chmod "$1" "${DESTDIR}/$2" && touch "${DESTDIR}/$2"