From d1b6f2cd7e4b5c91898ee7f184d1305a7301fc3c Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Fri, 3 Feb 2023 16:30:49 +0200
Subject: [PATCH 13/13] Add man page link for freeciv-mp-gtk4

Patch by Jim DeLaHunt and myself

See osdn #42196

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 doc/man/Makefile.am          |  1 +
 doc/man/freeciv-modpack.6.in |  5 +++--
 doc/man/freeciv-mp-gtk4.6    | 12 ++++++++++++
 doc/man/freeciv.6.in         |  1 +
 4 files changed, 17 insertions(+), 2 deletions(-)
 create mode 100644 doc/man/freeciv-mp-gtk4.6

diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
index 87b1e4717c..613568cfb4 100644
--- a/doc/man/Makefile.am
+++ b/doc/man/Makefile.am
@@ -17,6 +17,7 @@ MAN_LINKS = 			\
 	freeciv-qt.6		\
 	freeciv-mp-gtk2.6	\
 	freeciv-mp-gtk3.6	\
+	freeciv-mp-gtk4.6	\
 	freeciv-mp-qt.6		\
 	freeciv-mp-cli.6
 
diff --git a/doc/man/freeciv-modpack.6.in b/doc/man/freeciv-modpack.6.in
index 83caaaffe8..fb07d209e8 100644
--- a/doc/man/freeciv-modpack.6.in
+++ b/doc/man/freeciv-modpack.6.in
@@ -9,9 +9,10 @@
 .\"   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 .\"   GNU General Public License for more details.
 .\"
-.TH FREECIV 6 "May 24th 2014"
+.TH FREECIV 6 "May 13th 2021"
 .SH NAME
-freeciv-mp-gtk2, freeciv-mp-gtk3, freeciv-mp-qt, freeciv-mp-cli \
+freeciv-mp-gtk2, freeciv-mp-gtk3, freeciv-mp-gtk4, \
+freeciv-mp-qt, freeciv-mp-cli \
 \- Custom content installers for the Freeciv game
 .SH SYNOPSIS
 .B freeciv-mp-XXX \
diff --git a/doc/man/freeciv-mp-gtk4.6 b/doc/man/freeciv-mp-gtk4.6
new file mode 100644
index 0000000000..96302e9679
--- /dev/null
+++ b/doc/man/freeciv-mp-gtk4.6
@@ -0,0 +1,12 @@
+.so man6/freeciv-modpack.6
+.\" Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
+.\"   This program is free software; you can redistribute it and/or modify
+.\"   it under the terms of the GNU General Public License as published by
+.\"   the Free Software Foundation; either version 2, or (at your option)
+.\"   any later version.
+.\"
+.\"   This program is distributed in the hope that it will be useful,
+.\"   but WITHOUT ANY WARRANTY; without even the implied warranty of
+.\"   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+.\"   GNU General Public License for more details.
+.\"
diff --git a/doc/man/freeciv.6.in b/doc/man/freeciv.6.in
index d1506c329e..3e2a053637 100644
--- a/doc/man/freeciv.6.in
+++ b/doc/man/freeciv.6.in
@@ -122,5 +122,6 @@ Feel free to use it as you wish.
 .IR freeciv-mp-cli (6)
 .IR freeciv-mp-gtk2 (6)
 .IR freeciv-mp-gtk3 (6)
+.IR freeciv-mp-gtk4 (6)
 .IR freeciv-mp-qt (6)
 and the Client Manual and the Server Manual on the Freeciv website.
-- 
2.39.1