app, docs: fix GIMP's version in --dump-gimprc-manpage and update…

… gimprc's manpage as a consequence.

When running `gimp-console-2.99 --dump-gimprc-manpage` to output a man,
a line was:

> .TH GIMPRC 5 "Version @GIMP_VERSION@" "GIMP Manual Pages"

This is clearly the autotools substitution syntax, which is not being
used here (this is not a .in file processed by the build system), maybe
from some older build logics.
This commit is contained in:
Jehan 2021-10-21 21:59:30 +02:00
parent b618d6afce
commit 40ca022c81
2 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ dump_gimprc_system (GimpConfig *rc,
static const gchar man_page_header[] =
".\\\" This man-page is auto-generated by gimp --dump-gimprc-manpage.\n"
"\n"
".TH GIMPRC 5 \"Version @GIMP_VERSION@\" \"GIMP Manual Pages\"\n"
".TH GIMPRC 5 \"Version " GIMP_VERSION "\" \"GIMP Manual Pages\"\n"
".SH NAME\n"
"gimprc \\- gimp configuration file\n"
".SH DESCRIPTION\n"

View File

@ -1,6 +1,6 @@
.\" This man-page is auto-generated by gimp --dump-gimprc-manpage.
.TH GIMPRC 5 "Version @GIMP_VERSION@" "GIMP Manual Pages"
.TH GIMPRC 5 "Version 2.99.9" "GIMP Manual Pages"
.SH NAME
gimprc \- gimp configuration file
.SH DESCRIPTION