diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-09 23:55:50 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-23 21:47:27 -0400 |
commit | 7b76fce1a5d2590524f713586d2b38dca5224ef0 (patch) | |
tree | cfd657e1adde9738643a82591db47ee549b2337b /meson.build | |
parent | 94e75a54097b32252ef86e9253a288db7529f1ea (diff) |
meson: create various symlinks
v2:
- remove bashisms
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meson.build b/meson.build index a5b57d8e05..a56476a71d 100644 --- a/meson.build +++ b/meson.build @@ -385,6 +385,7 @@ stat = find_program('stat') git = find_program('git', required : false) etags = find_program('etags', required : false) +meson_make_symlink = meson.source_root() + '/tools/meson-make-symlink.sh' mkdir_p = 'mkdir -p $DESTDIR/@0@' # if -Dxxx-path option is found, use that. Otherwise, check in $PATH, @@ -1127,6 +1128,10 @@ if conf.get('ENABLE_ENVIRONMENT_D', 0) == 1 install_dir : userenvgeneratordir, include_directories : includes, link_with : [libshared]) + + meson.add_install_script(meson_make_symlink, + sysconfdir + '/environment', + environmentdir + '/99-environment.conf') endif if conf.get('ENABLE_HIBERNATE', 0) == 1 @@ -1705,6 +1710,9 @@ executable('systemd-mount', link_with : [libshared], install : true) +meson.add_install_script(meson_make_symlink, + 'systemd-mount', bindir + '/systemd-umount') + executable('systemd-run', 'src/run/run.c', include_directories : includes, |