Skip to content

Commit

Permalink
Install the binary and configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
chewi committed Jun 20, 2023
1 parent 15fc205 commit 5bba83d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,16 @@ boost = dependency('boost', modules : ['system', 'program_options'])
mpd = dependency('libmpdclient')
threads = dependency('threads')

executable('mpd-ynca', 'mpd-ynca.cpp', cpp_args : '-DSYSCONFDIR=' + get_option('sysconfdir'), dependencies : [boost, mpd, threads])
executable(
'mpd-ynca',
'mpd-ynca.cpp',
cpp_args : '-DSYSCONFDIR=' + get_option('sysconfdir'),
dependencies : [boost, mpd, threads],
install : true
)

install_data(
'ynca.conf',
rename : 'mpd-ynca.conf',
install_dir : get_option('sysconfdir')
)

0 comments on commit 5bba83d

Please sign in to comment.