meson: install foot.ini to /etc/xdg/foot/foot.ini

Closes #1001
This commit is contained in:
Daniel Eklöf 2022-04-06 19:03:59 +02:00
parent 501a9fbb5e
commit e95bc9283e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 5 additions and 1 deletions

View file

@ -75,6 +75,10 @@
(https://codeberg.org/dnkl/foot/issues/980).
* Use circles for rendering light arc box-drawing characters
(https://codeberg.org/dnkl/foot/issues/988).
* Example configuration is now installed to
`${sysconfdir}/xdg/foot/foot.ini`, typically resolving to
`/etc/xdg/foot/foot.ini`
(https://codeberg.org/dnkl/foot/issues/1001).
### Deprecated

View file

@ -269,7 +269,7 @@ if scdoc.found()
install_data(
'LICENSE', 'README.md', 'CHANGELOG.md',
install_dir: join_paths(get_option('datadir'), 'doc', 'foot'))
install_data('foot.ini', install_dir: join_paths(get_option('datadir'), 'foot'))
install_data('foot.ini', install_dir: join_paths(get_option('sysconfdir'), 'xdg', 'foot'))
subdir('doc')
endif