forked from enlightenment/rage
reformat perms.sh to be esier to re-us as a general chmod tool
This commit is contained in:
parent
350d6afb47
commit
c8c8e6e876
|
@ -10,4 +10,5 @@ custom_target(src + '.edj',
|
||||||
install_dir: join_paths(dir_data, proj, 'themes'),
|
install_dir: join_paths(dir_data, proj, 'themes'),
|
||||||
install : true
|
install : true
|
||||||
)
|
)
|
||||||
meson.add_install_script('perms.sh')
|
out = join_paths(dir_data, proj, 'themes', 'default.edj')
|
||||||
|
meson.add_install_script(chmod, 'a+r', out)
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
chmod a+r "${DESTDIR}/${MESON_INSTALL_PREFIX}/share/rage/themes/default.edj"
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
chmod "$1" "${DESTDIR}/$2"
|
|
@ -9,6 +9,7 @@ base_url = 'https://www.enlightenment.org/about-'
|
||||||
##### convenience variables for later
|
##### convenience variables for later
|
||||||
proj = meson.project_name()
|
proj = meson.project_name()
|
||||||
ver = meson.project_version()
|
ver = meson.project_version()
|
||||||
|
chmod = join_paths(meson.source_root(), 'meson-chmod.sh')
|
||||||
|
|
||||||
##### dependencies
|
##### dependencies
|
||||||
efl_version = '>= 1.19.0'
|
efl_version = '>= 1.19.0'
|
||||||
|
|
Loading…
Reference in New Issue