From 40ca022c810ba60e707b15c198edd53fa894125a Mon Sep 17 00:00:00 2001 From: Jehan Date: Thu, 21 Oct 2021 21:59:30 +0200 Subject: [PATCH] =?UTF-8?q?app,=20docs:=20fix=20GIMP's=20version=20in=20--?= =?UTF-8?q?dump-gimprc-manpage=20and=20update=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … 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. --- app/config/gimpconfig-dump.c | 2 +- docs/gimprc.5.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/config/gimpconfig-dump.c b/app/config/gimpconfig-dump.c index 659dbe2ebb..79d1288c3d 100644 --- a/app/config/gimpconfig-dump.c +++ b/app/config/gimpconfig-dump.c @@ -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" diff --git a/docs/gimprc.5.in b/docs/gimprc.5.in index a48c623a5e..4e1c250cba 100644 --- a/docs/gimprc.5.in +++ b/docs/gimprc.5.in @@ -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