groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: Makefile.sub (stamp-strip): Set LANG=C LC_ALL=C when call


From: Werner LEMBERG
Subject: [groff] 01/01: Makefile.sub (stamp-strip): Set LANG=C LC_ALL=C when calling `sed'.
Date: Tue, 12 Aug 2014 06:51:10 +0000

wl pushed a commit to branch master
in repository groff.

commit 694305d77b3dccb62921fccf7d403a8852a82742
Author: Werner Lemberg <address@hidden>
Date:   Tue Aug 12 08:50:02 2014 +0200

    Makefile.sub (stamp-strip): Set LANG=C LC_ALL=C when calling `sed'.
    
    This prevents a build error on OS X.
---
 contrib/mom/ChangeLog    |    8 +++++++-
 contrib/mom/Makefile.sub |    3 ++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/contrib/mom/ChangeLog b/contrib/mom/ChangeLog
index 13213b1..8414979 100644
--- a/contrib/mom/ChangeLog
+++ b/contrib/mom/ChangeLog
@@ -1,6 +1,12 @@
+* Tue Aug 12 2014
+
+o Makefile.sub (stamp-strip): Set LANG=C LC_ALL=C when calling `sed'.
+
+  This prevents a build error on OS X.
+
 * Thu Apr 3 2014
 
-o contrib/mom/Makefile.sub: Set LC_ALL=C when calling $(PDFMOM).
+o Makefile.sub: Set LC_ALL=C when calling $(PDFMOM).
 
   Doing so in an UTF-8 locale with $PERL5OPT=-C set avoids warnings like
 
diff --git a/contrib/mom/Makefile.sub b/contrib/mom/Makefile.sub
index a286dfb..eb4970b 100644
--- a/contrib/mom/Makefile.sub
+++ b/contrib/mom/Makefile.sub
@@ -184,7 +184,8 @@ install_pdfexamples: install_examples_always 
$(PROCESSEDEXAMPLEFILES)
 stamp-strip: $(STRIPFILES)
        for f in $(STRIPFILES); do \
          rm -f $$f-s; \
-         sed -f $(top_srcdir)/tmac/strip.sed $(srcdir)/$$f >$$f-s; \
+         LANG=C LC_ALL=C \
+           sed -f $(top_srcdir)/tmac/strip.sed $(srcdir)/$$f >$$f-s; \
        done
        touch $@
 



reply via email to

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