meson - use install_mode instead of chmod script

This commit is contained in:
Carsten Haitzler 2018-12-27 16:48:39 +00:00
parent 61f3dfeb8c
commit 0fd3c6557c
4 changed files with 2 additions and 6 deletions

View File

@ -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,

View File

@ -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')]

View File

@ -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)

View File

@ -1,5 +0,0 @@
#!/bin/sh
for x in "$@" ; do
chmod 644 "$MESON_INSTALL_DESTDIR_PREFIX/$x" && touch "$MESON_INSTALL_DESTDIR_PREFIX/$x"
done