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



commit 40ca022c810ba60e707b15c198edd53fa894125a
Author: Jehan <jehan girinstud io>
Date:   Thu Oct 21 21:59:30 2021 +0200

    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.

 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]