aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-25 07:05:11 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-25 07:05:11 +0000
commit373745c597f3bb1c4185668c516ccc46b86443cd (patch)
tree69402e8efb460f02e362e77f7b0c58f1ca46c1c0
parentlicense: fix bad copy-paste: first commit was in 2019 (diff)
meson: install LICENSE, README.md and CHANGELOG.md
-rw-r--r--CHANGELOG.md3
-rw-r--r--meson.build7
2 files changed, 9 insertions, 1 deletions
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')