scx/services/openrc/meson.build

24 lines
845 B
Meson
Raw Normal View History

2024-04-03 20:21:26 +01:00
# Install the 'scx.initrd' file to /etc/init.d/scx
install_data('scx.initrd', install_dir: '/etc/init.d', rename: 'scx')
2024-04-03 18:57:32 +01:00
# Install the 'scx' file to the '/etc/default' directory
install_data('../scx', install_dir: '/etc/default')
2024-04-03 20:21:26 +01:00
# Symlinking /etc/default/scx to /etc/conf.d/scx
install_symlink(
'scx',
pointing_to: '/etc/default/scx',
2024-04-03 21:02:14 +01:00
install_dir: '/etc/conf.d'
2024-04-03 20:21:26 +01:00
)
# meson.add_install_script(
# 'sh', '-c',
# 'mkdir -p $(dirname $DESTDIR/@0@/@1@)'.format(systemd_system_unit_dir,
# 'multi-user.target.wants/phosphor-certificate-manager@nslcd.service'),
# )
# meson.add_install_script(
# 'sh', '-c',
# 'ln -s @0@ $DESTDIR/@1@/@2@'.format('../phosphor-certificate-manager@.service',
# systemd_system_unit_dir,
# 'multi-user.target.wants/phosphor-certificate-manager@nslcd.service'),
# )