gbranden pushed a commit to branch master
in repository groff.

commit adc9a7e218053e08384f1a2c8fc73c7512501e88
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Oct 18 10:37:24 2022 -0500

    [gxditview]: Really populate groff version string.
    
    * src/devices/xditview/xditview.am ($(GXDITVIEW_GROFF_VERSION_H):
      Perform correct substitution to get groff version string into
      `Version_string` C symbol.  Continues commit c73decb58f, 9 October.
---
 ChangeLog                        | 7 +++++++
 src/devices/xditview/xditview.am | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index a6c5837f5..2dc3e0140 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2022-10-18  G. Branden Robinson <[email protected]>
+
+       * src/devices/xditview/xditview.am
+       ($(GXDITVIEW_GROFF_VERSION_H): Perform correct substitution to
+       get groff version string into `Version_string` C symbol.
+       Continues commit c73decb58f, 9 October.
+
 2022-10-18  G. Branden Robinson <[email protected]>
 
        * src/utils/afmtodit/afmtodit.1.man (Files): Fix ordering error.
diff --git a/src/devices/xditview/xditview.am b/src/devices/xditview/xditview.am
index da4a7cac7..084c26a3c 100644
--- a/src/devices/xditview/xditview.am
+++ b/src/devices/xditview/xditview.am
@@ -39,7 +39,7 @@ GXDITVIEW_GROFF_VERSION_H=src/devices/xditview/groff_version.h
 $(GXDITVIEW_GROFF_VERSION_H): $(top_srcdir)/.version
        $(AM_V_at)$(MKDIR_P) `dirname $@` \
        && $(AM_V_GEN)printf \
-           'const char *Version_string = "%s";\n' $(GROFF_VERSION) > $@
+           'const char *Version_string = "%s";\n' '@VERSION@' > $@
 
 if WITHOUT_X11
 GXDITVIEW_MAN1 =

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to