From 373745c597f3bb1c4185668c516ccc46b86443cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 25 Jul 2020 09:05:11 +0200 Subject: [PATCH] meson: install LICENSE, README.md and CHANGELOG.md --- CHANGELOG.md | 3 +++ meson.build | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea392a60..a6c93071 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,9 @@ * Section to [README.md](README.md) describing how to programmatically identify foot. +* [LICENSE](LICENSE), [README.md](README.md) and + [CHANGELOG.md](CHANGELOG.md) are now installed to + `${datadir}/doc/foot`. ### Changed diff --git a/meson.build b/meson.build index 0977e3c5..493b4392 100644 --- a/meson.build +++ b/meson.build @@ -148,7 +148,12 @@ custom_target( install: true, install_dir: join_paths(get_option('datadir'), 'terminfo')) -install_data('foot.desktop', 'foot-server.desktop', install_dir: join_paths(get_option('datadir'), 'applications')) +install_data( + 'LICENSE', 'README.md', 'CHANGELOG.md', + install_dir: join_paths(get_option('datadir'), 'doc', 'foot')) +install_data( + 'foot.desktop', 'foot-server.desktop', + install_dir: join_paths(get_option('datadir'), 'applications')) install_data('footrc', install_dir: join_paths(get_option('datadir'), 'foot')) subdir('completions')