From 1483c2a864a20ffa0252501efd2d732f5e45ed34 Mon Sep 17 00:00:00 2001 From: Jim DeLaHunt Date: Thu, 13 May 2021 23:31:09 -0700 Subject: [PATCH] Add freeciv-mp-gtk4 (6) man page link, ticket 42196 For newly added tool freeciv-mp-gtk4, add a man page link titled freeciv-mp-gtk4 (6). New file doc/man/freeciv-mp-gtk4.6 added. This file is almost the same as existing doc/man/freeciv-mp-gtk3.6, except that its .so request, linking to freeciv-modpack (6), is moved to the first line of the file (addressing ticket #42178, "Move man page .so requests to first lines, to let compressed man pages work"). Also edit doc/man/freeciv-modpack.6.in to include "freeciv-mp-gtk4" in the .SH NAME section, and to bring its date to today. Also edit doc/man/Makefile.am, to include new filename freeciv-mp-gtk4.6 to the MAN_LINKS macro. --- doc/man/Makefile.am | 1 + doc/man/freeciv-modpack.6.in | 4 ++-- doc/man/freeciv-mp-gtk4.6 | 12 ++++++++++++ 3 files changed, 15 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 861c707472..9583011490 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -14,6 +14,7 @@ MAN_LINKS = \ freeciv-sdl2.6 \ freeciv-qt.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 32b8a3d7eb..f6dea942e1 100644 --- a/doc/man/freeciv-modpack.6.in +++ b/doc/man/freeciv-modpack.6.in @@ -9,9 +9,9 @@ .\" 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-gtk3, freeciv-mp-qt, freeciv-mp-cli \ +freeciv-mp-gtk4, freeciv-mp-gtk3, 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. +.\" -- 2.31.1