meson.build: install README, NEWS etc.

This commit is contained in:
Max Kellermann 2018-10-26 15:54:14 +02:00
parent eeae9a04d3
commit f77135f307
1 changed files with 5 additions and 0 deletions

View File

@ -442,6 +442,11 @@ if systemd_dep.found()
subdir('systemd')
endif
install_data(
'AUTHORS', 'COPYING', 'NEWS', 'README.md',
install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()),
)
if get_option('documentation')
subdir('doc')
endif