File: meson.build

package info (click to toggle)
btrfsd 0.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 328 kB
  • sloc: ansic: 1,966; xml: 123; python: 114; sh: 98; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 603 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

systemd_unit_dir = systemd_dep.get_variable(pkgconfig: 'systemdsystemunitdir')

bdsd_data = configuration_data()
bdsd_data.set('BTRFSD_INSTALL_BIN', get_option('prefix') / get_option('libexecdir') / 'btrfsd')

bdsd_service = configure_file(
    input: 'btrfsd.service.in',
    output: 'btrfsd.service',
    configuration: bdsd_data
)

install_data(
    bdsd_service,
    install_dir: systemd_unit_dir
)
install_data(
    'btrfsd.timer',
    install_dir: systemd_unit_dir
)


# Install example configuration file
install_data(
    'settings.conf',
    install_dir: get_option('sysconfdir') / 'btrfsd'
)