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 = \ SED_PARAMETERS = \
-e "s/%DATE_OF_MAN_PAGE%/$${MAN_DATE}/g" \ -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{%prefix%{@prefix@{g" \
-e "s{%sysconfdir%{@sysconfdir@{g" \ -e "s{%sysconfdir%{@sysconfdir@{g" \
-e "s{%libexecdir%{@libexecdir@{g" -e "s{%libexecdir%{@libexecdir@{g"

View File

@ -6,7 +6,7 @@
.\" David H. Martín Alonso <david.martin@telefonica.net> .\" David H. Martín Alonso <david.martin@telefonica.net>
.\" .\"
.\"TOPICS "Índice de Contenidos:" .\"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" .\"SKIP_SECTION"
.SH "NOMBRE" .SH "NOMBRE"
mc \- entorno visual para sistemas tipo Unix. mc \- entorno visual para sistemas tipo Unix.

View File

@ -1,6 +1,6 @@
.\" -*- mode: troff; coding: UTF-8 -*- .\" -*- mode: troff; coding: UTF-8 -*-
.\"TOPICS "Tartalomjegyzék" .\"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" .\"SKIP_SECTION"
.SH "NÉV" .SH "NÉV"
mc \- Fájlkezelő Unix típusú rendszerekhez mc \- Fájlkezelő Unix típusú rendszerekhez

View File

@ -21,7 +21,7 @@
.\" Prego mantenere la linea di traduzione generale (per quanto possibile). .\" Prego mantenere la linea di traduzione generale (per quanto possibile).
.\" .\"
.\"TOPICS "Indice degli argomenti:" .\"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" .\"SKIP_SECTION"
.SH "NOME" .SH "NOME"
mc \- interfaccia visuale per sistemi tipo Unix. mc \- interfaccia visuale per sistemi tipo Unix.

View File

@ -1,6 +1,6 @@
.\" -*- mode: troff; coding: UTF-8 -*- .\" -*- mode: troff; coding: UTF-8 -*-
.\"TOPICS "Topics:" .\"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" .\"SKIP_SECTION"
.SH "NAME" .SH "NAME"
mc \- Visual shell for Unix\-like systems. 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 .SH NAME
mcedit \- Internal file editor of GNU Midnight Commander. mcedit \- Internal file editor of GNU Midnight Commander.
.SH SYNOPSIS .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 .SH NAME
mcview \- Internal file viewer of GNU Midnight Commander. mcview \- Internal file viewer of GNU Midnight Commander.
.SH SYNOPSIS .SH SYNOPSIS

View File

@ -1,6 +1,6 @@
.\" -*- mode: troff; coding: UTF-8 -*- .\" -*- mode: troff; coding: UTF-8 -*-
.\"Przetłumaczone przez by Macieja Wojciechowskiego wojciech@staszic.waw.pl .\"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" .\"SKIP_SECTION"
.SH NAZWA .SH NAZWA
mc \- wizualny interpetator poleceń dla systemów Unixopodobnych mc \- wizualny interpetator poleceń dla systemów Unixopodobnych

View File

@ -1,7 +1,7 @@
.\" -*- mode: troff; coding: UTF-8 -*- .\" -*- mode: troff; coding: UTF-8 -*-
.\"TOPICS "Разделы помощи:" .\"TOPICS "Разделы помощи:"
.\" TODO: Перевести раздел EXTernal File System .\" 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" .\"SKIP_SECTION"
.SH "НАИМЕНОВАНИЕ" .SH "НАИМЕНОВАНИЕ"
mc \- Визуальная оболочка для Unix\-подобных систем. mc \- Визуальная оболочка для Unix\-подобных систем.

View File

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

View File

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