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,
|
edj_targets += [custom_target(output,
|
||||||
install:true,
|
install:true,
|
||||||
install_dir: edje_install_dir,
|
install_dir: edje_install_dir,
|
||||||
|
install_mode: 'rw-r--r--',
|
||||||
depend_files: files(to_compile[1]),
|
depend_files: files(to_compile[1]),
|
||||||
command: command,
|
command: command,
|
||||||
input: input,
|
input: input,
|
||||||
|
|
|
@ -12,6 +12,7 @@ edj_targets += [custom_target('nyanology.edj',
|
||||||
depend_files: files(['about.edc',
|
depend_files: files(['about.edc',
|
||||||
'nyancursor.edc']),
|
'nyancursor.edc']),
|
||||||
install_dir: edje_install_dir,
|
install_dir: edje_install_dir,
|
||||||
|
install_mode: 'rw-r--r--',
|
||||||
command: command,
|
command: command,
|
||||||
input:'nyanology.edc',
|
input:'nyanology.edc',
|
||||||
output:'nyanology.edj')]
|
output:'nyanology.edj')]
|
||||||
|
|
|
@ -125,4 +125,3 @@ subdir('data')
|
||||||
subdir('man')
|
subdir('man')
|
||||||
subdir('src/bin')
|
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