Make meson.build more readable

Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
Piotr Gorski 2024-01-29 17:14:39 +01:00
parent 46ba5908ab
commit 22e775842a
No known key found for this signature in database
GPG Key ID: 79AFA05ABDB26C5A

View File

@ -1,22 +1,11 @@
# Get the directory for systemd system unit files
systemd_system_unit_dir = systemd.get_variable(pkgconfig : 'systemdsystemunitdir')
install_data(
[
'scx.service',
],
install_dir: systemd_system_unit_dir
)
# Install the 'scx.service' file to the systemd system unit directory
install_data('scx.service', install_dir: systemd_system_unit_dir)
install_data(
[
'journald@sched-ext.conf',
],
install_dir: '/etc/systemd'
)
# Install the 'journald@sched-ext.conf' file to the '/etc/systemd' directory
install_data('journald@sched-ext.conf', install_dir: '/etc/systemd')
install_data(
[
'scx',
],
install_dir: '/etc/default'
)
# Install the 'scx' file to the '/etc/default' directory
install_data('scx', install_dir: '/etc/default')