From 7ec93bce639387cfe5bce49e623df4a952bae3d8 Mon Sep 17 00:00:00 2001 From: Dan Church Date: Sat, 7 Nov 2020 13:42:35 -0600 Subject: [PATCH] GTK: Use standard meson to install man pages --- desmume/src/frontend/posix/cli/meson.build | 2 +- desmume/src/frontend/posix/gtk-glade/meson.build | 2 +- desmume/src/frontend/posix/gtk/meson.build | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/desmume/src/frontend/posix/cli/meson.build b/desmume/src/frontend/posix/cli/meson.build index a9a4cf25d..d3eb234f1 100644 --- a/desmume/src/frontend/posix/cli/meson.build +++ b/desmume/src/frontend/posix/cli/meson.build @@ -23,4 +23,4 @@ executable('desmume-cli', install: true, ) -install_data('doc/desmume-cli.1', install_dir: join_paths(get_option('datadir'), 'man', 'man1')) +install_man('doc/desmume-cli.1') diff --git a/desmume/src/frontend/posix/gtk-glade/meson.build b/desmume/src/frontend/posix/gtk-glade/meson.build index 305225179..d23e5d414 100644 --- a/desmume/src/frontend/posix/gtk-glade/meson.build +++ b/desmume/src/frontend/posix/gtk-glade/meson.build @@ -42,5 +42,5 @@ executable('desmume-glade', install_data('desmume-glade.desktop', install_dir: join_paths(get_option('datadir'), 'applications')) install_data('glade/DeSmuME.xpm', install_dir: join_paths(get_option('datadir'), 'pixmaps')) -install_data('doc/desmume-glade.1', install_dir: join_paths(get_option('datadir'), 'man', 'man1')) +install_man('doc/desmume-glade.1') install_data(['glade/DeSmuMe_Dtools.glade', 'glade/DeSmuMe.glade', 'glade/DeSmuME.xpm'], install_dir: join_paths(get_option('datadir'), 'glade')) diff --git a/desmume/src/frontend/posix/gtk/meson.build b/desmume/src/frontend/posix/gtk/meson.build index b2b1cb8a2..46706b473 100644 --- a/desmume/src/frontend/posix/gtk/meson.build +++ b/desmume/src/frontend/posix/gtk/meson.build @@ -38,4 +38,4 @@ executable('desmume', install_data('org.desmume.DeSmuME.desktop', install_dir: join_paths(get_option('datadir'), 'applications')) install_data('org.desmume.DeSmuME.metainfo.xml', install_dir: join_paths(get_option('datadir'), 'metainfo')) install_data('org.desmume.DeSmuME.svg', install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'apps')) -install_data('doc/desmume.1', install_dir: join_paths(get_option('datadir'), 'man', 'man1')) +install_man('doc/desmume.1')