[meld: 9/10] build: Use install_man
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld: 9/10] build: Use install_man
- Date: Fri, 8 Oct 2021 22:28:47 +0000 (UTC)
commit 244cc8cb65000e30766d2e457a05bf55b6722cd0
Author: Iñigo Martínez <inigomartinez gmail com>
Date: Mon Feb 15 12:25:12 2021 +0100
build: Use install_man
There is a function called `install_man`[0] that installes man files
in their proper directory, so it has been used to install the man
file.
[0] https://mesonbuild.com/Reference-manual.html#install_man
data/meson.build | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 70324118..01949188 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,8 +1,5 @@
# Install man page
-install_data(
- 'meld.1',
- install_dir: mandir / 'man1',
-)
+install_man('meld.1')
# Install schema file
install_data(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]