meson - use install_mode instead of chmod script

terminology-1.4
Carsten Haitzler 4 years ago
parent 61f3dfeb8c
commit 0fd3c6557c
  1. 1
      data/themes/meson.build
  2. 1
      data/themes/nyanology/meson.build
  3. 1
      meson.build
  4. 5
      meson/meson_install_themes.sh

@ -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…
Cancel
Save