1
0

meson.build 505 B

12345678910111213141516171819
  1. tangd_service = configure_file(
  2. input: 'tangd@.service.in',
  3. output: 'tangd@.service',
  4. configuration: data
  5. )
  6. if host_machine.system() == 'freebsd'
  7. tangd_rc = configure_file(
  8. input: 'tangd.rc.in',
  9. output: 'tangd',
  10. configuration: data,
  11. install_dir: join_paths(get_option('prefix') + sysconfdir, 'rc.d'),
  12. install_mode: ['rwxr-xr-x', 'root', 'wheel']
  13. )
  14. else
  15. units += join_paths(meson.current_source_dir(), 'tangd.socket')
  16. units += tangd_service
  17. endif
  18. # vim:set ts=2 sw=2 et: