summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2018-12-13 14:52:51 +0700
committerLzu Tao <taolzu@gmail.com>2018-12-13 14:52:51 +0700
commit7f8b0175a9edccd8da7b75d298a3a200df6cea5b (patch)
tree9a5923a39a071a8254de490e0e84afd7432594ff /contrib
parent54dabaa16c516af67f7d82ddf96d709f6a04f57a (diff)
downloadlz4-7f8b0175a9edccd8da7b75d298a3a200df6cea5b.tar.gz
lz4-7f8b0175a9edccd8da7b75d298a3a200df6cea5b.tar.bz2
lz4-7f8b0175a9edccd8da7b75d298a3a200df6cea5b.zip
meson: Update man1 extension in meson 0.49.0
Diffstat (limited to 'contrib')
-rw-r--r--contrib/meson/programs/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/meson/programs/meson.build b/contrib/meson/programs/meson.build
index 2d39b59..df64eb0 100644
--- a/contrib/meson/programs/meson.build
+++ b/contrib/meson/programs/meson.build
@@ -44,7 +44,7 @@ install_man(join_paths(lz4_root_dir, 'programs/lz4.1'))
InstallSymlink_py = '../InstallSymlink.py'
lz4_man1_dir = join_paths(lz4_mandir, 'man1')
bin_EXT = host_machine_os == os_windows ? '.exe' : ''
-man1_EXT = '.1.gz' # Meson automatically compresses manpages
+man1_EXT = meson.version().version_compare('>=0.49.0') ? '.1' : '.1.gz'
foreach f : ['lz4c', 'lz4cat', 'unlz4']
meson.add_install_script(InstallSymlink_py, 'lz4' + bin_EXT, f + bin_EXT, lz4_bindir)