Skip to content

Commit

Permalink
Introduce a meson build system to handle install/uninstall
Browse files Browse the repository at this point in the history
Signed-off-by: Antoine Damhet <antoine.damhet@lse.epita.fr>
  • Loading branch information
xdbob committed Aug 10, 2019
1 parent da013b9 commit 4f2bf79
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bins = [
'sway-user-service',
]

install_data(bins, install_dir: 'bin')
5 changes: 5 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
project('sway-services', [])

subdir('bin')
subdir('systemd')
subdir('wayland-sessions')
7 changes: 7 additions & 0 deletions systemd/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
services = [
'sway.service',
'wayland-session-pre.target',
'wayland-session.target',
]

install_data(services, install_dir: 'lib/systemd/user')
5 changes: 5 additions & 0 deletions wayland-sessions/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
desktop_files = [
'sway-session.desktop',
]

install_data(desktop_files, install_dir: 'share/wayland-sessions')

0 comments on commit 4f2bf79

Please sign in to comment.