groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: [doc] Protect against picky `sed' programs. Problem repor


From: Werner LEMBERG
Subject: [groff] 01/01: [doc] Protect against picky `sed' programs. Problem reported by Axel Kielhorn <address@hidden>.
Date: Sun, 12 Oct 2014 16:12:05 +0000

wl pushed a commit to branch master
in repository groff.

commit ceb92d2666fb74af40d2d5681175e89ce74dde76
Author: Werner Lemberg <address@hidden>
Date:   Sun Oct 12 18:11:49 2014 +0200

    [doc] Protect against picky `sed' programs.
    Problem reported by Axel Kielhorn <address@hidden>.
    
    * doc/Makefile.in (GROFF_BIN_PATH, GROFF): Add `LANG=' to avoid
    interpretation of non-ASCII characters by sed.
---
 ChangeLog       |    8 ++++++++
 doc/Makefile.in |    3 ++-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 27fba11..091a799 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-10-12  Werner LEMBERG  <address@hidden>
+
+       [doc] Protect against picky `sed' programs.
+       Problem reported by Axel Kielhorn <address@hidden>.
+
+       * doc/Makefile.in (GROFF_BIN_PATH, GROFF): Add `LANG=' to avoid
+       interpretation of non-ASCII characters by sed.
+
 2014-10-12  Michail Vidiassov  <address@hidden>
 
        * tmac/doc-common: Add new Darwin versions.
diff --git a/doc/Makefile.in b/doc/Makefile.in
index cc55acb..a8b5d82 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -36,7 +36,7 @@ address@hidden@
 # These may be overridden if cross-compiling.
 TROFFBIN=$(top_builddir)/src/roff/troff/troff
 GROFFBIN=$(top_builddir)/src/roff/groff/groff
-GROFF_BIN_PATH=`echo $(groff_bin_dirs) | sed -e 's|  *|:|g'`
+GROFF_BIN_PATH=`echo $(groff_bin_dirs) | LANG= sed -e 's|  *|:|g'`
 
 # info files are distributed with the groff package, so makeinfo is
 # usually not needed (however, to build from the repo you NEED it!)
@@ -75,6 +75,7 @@ TFLAG=-M$(top_builddir)/tmac -M$(top_srcdir)/tmac
 
 TROFF=$(TROFFBIN) $(TFLAG) $(FFLAG) -ww
 GROFF=\
+  LANG= \
   sed -e "s;@VERSION@;$(version)$(revision);" $< \
     | GROFF_COMMAND_PREFIX= \
       GROFF_BIN_PATH="$(GROFF_BIN_PATH)" \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]