meson.build: use install_man instead of install_data

Thanks to Eli Schwartz for the hint.
pull/324/head
Michael Stapelberg 2022-05-26 10:31:50 +02:00 committed by Michael Stapelberg
parent d629e186cf
commit f9cc3222ae
1 changed files with 1 additions and 8 deletions

View File

@ -64,14 +64,7 @@ config_h = declare_dependency(
# manpages # manpages
################################################################################ ################################################################################
man1 = join_paths(get_option('mandir'), 'man1') install_man('i3lock.1')
install_data(
[
'i3lock.1',
],
install_dir: man1,
)
# Required for e.g. struct ucred to be defined as per unix(7). # Required for e.g. struct ucred to be defined as per unix(7).
add_project_arguments('-D_GNU_SOURCE', language: 'c') add_project_arguments('-D_GNU_SOURCE', language: 'c')