Rename DISTR_VERSION macro to MAN_VERSION.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2021-04-04 10:12:00 +03:00
parent 30480df7c9
commit 3b16728742
11 changed files with 13 additions and 14 deletions

View File

@ -1,6 +1,6 @@
SED_PARAMETERS = \
-e "s/%DATE_OF_MAN_PAGE%/$${MAN_DATE}/g" \
-e "s/%DISTR_VERSION%/@DISTR_VERSION@/g" \
-e "s/%MAN_VERSION%/@MAN_VERSION@/g" \
-e "s{%prefix%{@prefix@{g" \
-e "s{%sysconfdir%{@sysconfdir@{g" \
-e "s{%libexecdir%{@libexecdir@{g"

View File

@ -6,7 +6,7 @@
.\" David H. Martín Alonso <david.martin@telefonica.net>
.\"
.\"TOPICS "Índice de Contenidos:"
.TH MC 1 "%DATE_OF_MAN_PAGE%" "MC Versión %DISTR_VERSION%" "GNU Midnight Commander"
.TH MC 1 "%DATE_OF_MAN_PAGE%" "MC Versión %MAN_VERSION%" "GNU Midnight Commander"
.\"SKIP_SECTION"
.SH "NOMBRE"
mc \- entorno visual para sistemas tipo Unix.

View File

@ -1,6 +1,6 @@
.\" -*- mode: troff; coding: UTF-8 -*-
.\"TOPICS "Tartalomjegyzék"
.TH MC 1 "%DATE_OF_MAN_PAGE%" "MC Version %DISTR_VERSION%" "GNU Midnight Commander"
.TH MC 1 "%DATE_OF_MAN_PAGE%" "MC Version %MAN_VERSION%" "GNU Midnight Commander"
.\"SKIP_SECTION"
.SH "NÉV"
mc \- Fájlkezelő Unix típusú rendszerekhez

View File

@ -21,7 +21,7 @@
.\" Prego mantenere la linea di traduzione generale (per quanto possibile).
.\"
.\"TOPICS "Indice degli argomenti:"
.TH MC 1 "%DATE_OF_MAN_PAGE%" "MC Version %DISTR_VERSION%" "GNU Midnight Commander"
.TH MC 1 "%DATE_OF_MAN_PAGE%" "MC Version %MAN_VERSION%" "GNU Midnight Commander"
.\"SKIP_SECTION"
.SH "NOME"
mc \- interfaccia visuale per sistemi tipo Unix.

View File

@ -1,6 +1,6 @@
.\" -*- mode: troff; coding: UTF-8 -*-
.\"TOPICS "Topics:"
.TH MC 1 "%DATE_OF_MAN_PAGE%" "MC Version %DISTR_VERSION%" "GNU Midnight Commander"
.TH MC 1 "%DATE_OF_MAN_PAGE%" "MC Version %MAN_VERSION%" "GNU Midnight Commander"
.\"SKIP_SECTION"
.SH "NAME"
mc \- Visual shell for Unix\-like systems.

View File

@ -1,4 +1,4 @@
.TH MCEDIT 1 "%DATE_OF_MAN_PAGE%" "MC Version %DISTR_VERSION%" "GNU Midnight Commander"
.TH MCEDIT 1 "%DATE_OF_MAN_PAGE%" "MC Version %MAN_VERSION%" "GNU Midnight Commander"
.SH NAME
mcedit \- Internal file editor of GNU Midnight Commander.
.SH SYNOPSIS

View File

@ -1,4 +1,4 @@
.TH MCVIEW 1 "%DATE_OF_MAN_PAGE%" "MC Version %DISTR_VERSION%" "GNU Midnight Commander"
.TH MCVIEW 1 "%DATE_OF_MAN_PAGE%" "MC Version %MAN_VERSION%" "GNU Midnight Commander"
.SH NAME
mcview \- Internal file viewer of GNU Midnight Commander.
.SH SYNOPSIS

View File

@ -1,6 +1,6 @@
.\" -*- mode: troff; coding: UTF-8 -*-
.\"Przetłumaczone przez by Macieja Wojciechowskiego wojciech@staszic.waw.pl
.TH MC 1 "%DATE_OF_MAN_PAGE%" "MC Version %DISTR_VERSION%" "GNU Midnight Commander"
.TH MC 1 "%DATE_OF_MAN_PAGE%" "MC Version %MAN_VERSION%" "GNU Midnight Commander"
.\"SKIP_SECTION"
.SH NAZWA
mc \- wizualny interpetator poleceń dla systemów Unixopodobnych

View File

@ -1,7 +1,7 @@
.\" -*- mode: troff; coding: UTF-8 -*-
.\"TOPICS "Разделы помощи:"
.\" TODO: Перевести раздел EXTernal File System
.TH MC 1 "%DATE_OF_MAN_PAGE%" "MC Version %DISTR_VERSION%" "GNU Midnight Commander"
.TH MC 1 "%DATE_OF_MAN_PAGE%" "MC Version %MAN_VERSION%" "GNU Midnight Commander"
.\"SKIP_SECTION"
.SH "НАИМЕНОВАНИЕ"
mc \- Визуальная оболочка для Unix\-подобных систем.

View File

@ -1,6 +1,6 @@
.\" -*- mode: troff; coding: UTF-8 -*-
.\"TOPICS "Теме:"
.TH ПН 1 "%DATE_OF_MAN_PAGE%" "ПН верзија %DISTR_VERSION%" "ГНУ\-ов поноћни наредник"
.TH ПН 1 "%DATE_OF_MAN_PAGE%" "ПН верзија %MAN_VERSION%" "ГНУ\-ов поноћни наредник"
.\"SKIP_SECTION"
.SH "НАЗИВ"
mc \- Визуална љуска за Униксолике системе.

View File

@ -3,7 +3,7 @@ dnl
dnl Get current version of Midnight Commander from git tags
dnl
dnl @author Slava Zanko <slavazanko@gmail.com>
dnl @version 2021-03-28
dnl @version 2021-04-04
dnl @license GPL
dnl @copyright Free Software Foundation, Inc.
dnl @modified Andrew Borodin <aborodin@vmail.ru>
@ -16,7 +16,6 @@ AC_DEFUN([mc_VERSION],[
fi
dnl Version without dashes for the man page
DISTR_VERSION=`echo $VERSION | sed 's/^\([[^\-]]*\).*/\1/'`
AC_SUBST(DISTR_VERSION)
MAN_VERSION=`echo $VERSION | sed 's/^\([[^\-]]*\).*/\1/'`
AC_SUBST(MAN_VERSION)
])