meson - use install_mode instead of chmod script
This commit is contained in:
parent
61f3dfeb8c
commit
0fd3c6557c
|
@ -27,6 +27,7 @@ foreach to_compile: edje_to_compile
|
|||
edj_targets += [custom_target(output,
|
||||
install:true,
|
||||
install_dir: edje_install_dir,
|
||||
install_mode: 'rw-r--r--',
|
||||
depend_files: files(to_compile[1]),
|
||||
command: command,
|
||||
input: input,
|
||||
|
|
|
@ -12,6 +12,7 @@ edj_targets += [custom_target('nyanology.edj',
|
|||
depend_files: files(['about.edc',
|
||||
'nyancursor.edc']),
|
||||
install_dir: edje_install_dir,
|
||||
install_mode: 'rw-r--r--',
|
||||
command: command,
|
||||
input:'nyanology.edc',
|
||||
output:'nyanology.edj')]
|
||||
|
|
|
@ -125,4 +125,3 @@ subdir('data')
|
|||
subdir('man')
|
||||
subdir('src/bin')
|
||||
|
||||
meson.add_install_script('meson/meson_install_themes.sh', edj_files)
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
for x in "$@" ; do
|
||||
chmod 644 "$MESON_INSTALL_DESTDIR_PREFIX/$x" && touch "$MESON_INSTALL_DESTDIR_PREFIX/$x"
|
||||
done
|
Loading…
Reference in New Issue