diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2017-11-16 03:15:00 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-11-17 15:55:29 +0000 |
commit | f08c25ddd93ad3fa691172119a038465cd178420 (patch) | |
tree | 9d38bf6e48510ee3cd0d352262fe3df90ea2c010 /man | |
parent | af18fd29cf99e32a1a1a0ede4239f2c41a1f3811 (diff) | |
download | colord-f08c25ddd93ad3fa691172119a038465cd178420.tar.gz |
build: Refactor directory selection
Previously, the various install paths were obtained using get_option
as needed. This lead to the directories sometimes not prepended with
prefix.
This patch unifies the directory selection inside the top-level meson
file.
Diffstat (limited to 'man')
-rw-r--r-- | man/meson.build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/man/meson.build b/man/meson.build index f277959..c0b66ac 100644 --- a/man/meson.build +++ b/man/meson.build @@ -7,7 +7,7 @@ custom_target('colormgr-man', '--output', meson.current_build_dir(), ], install : true, - install_dir : join_paths(get_option('mandir'), 'man1'), + install_dir : join_paths(mandir, 'man1'), ) custom_target('cd-create-profile-man', input : 'cd-create-profile.sgml', @@ -17,7 +17,7 @@ custom_target('cd-create-profile-man', '--output', meson.current_build_dir(), ], install : true, - install_dir : join_paths(get_option('mandir'), 'man1'), + install_dir : join_paths(mandir, 'man1'), ) custom_target('cd-fix-profile-man', input : 'cd-fix-profile.sgml', @@ -27,7 +27,7 @@ custom_target('cd-fix-profile-man', '--output', meson.current_build_dir(), ], install : true, - install_dir : join_paths(get_option('mandir'), 'man1'), + install_dir : join_paths(mandir, 'man1'), ) custom_target('cd-it8-man', input : 'cd-it8.sgml', @@ -37,5 +37,5 @@ custom_target('cd-it8-man', '--output', meson.current_build_dir(), ], install : true, - install_dir : join_paths(get_option('mandir'), 'man1'), + install_dir : join_paths(mandir, 'man1'), ) |