]> git.pond.sub.org Git - empserver/commitdiff
(info.nr/all, info.html/all.html, sources.mk): Pass LC_ALL=C in the
authorMarkus Armbruster <armbru@pond.sub.org>
Wed, 26 Apr 2006 19:08:17 +0000 (19:08 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 26 Apr 2006 19:08:17 +0000 (19:08 +0000)
environment to make output independent of user's locale.

Make.mk

diff --git a/Make.mk b/Make.mk
index c93f4771fa1c21072b86e212f6bff855dc28106c..2b0802f8573800830e1a058ced2a3dfb9c78d6b8 100644 (file)
--- a/Make.mk
+++ b/Make.mk
@@ -279,11 +279,11 @@ $(ttop): $(tsubj)
        perl $(srcdir)/info/mktop.pl $@ $(filter %.t, $^)
 
 info.nr/all: $(filter-out info.nr/all, $(info.nr))
-       (cd info.nr && ls -C $(info)) >$@
+       (cd info.nr && LC_ALL=C ls -C $(info)) >$@
 # FIXME shouldn't use ls
 
 info.html/all.html: $(filter-out info.html/all.html, $(info.html)) info/ls2html.pl
-       (cd info.html && ls -C $(notdir $(info.html))) | expand | perl $(filter %.pl, $^) >$@
+       (cd info.html && LC_ALL=C ls -C $(notdir $(info.html))) | expand | perl $(filter %.pl, $^) >$@
 # FIXME shouldn't use ls
 
 $(info.nr): info/CRT.MAC info/INFO.MAC info/Blank.awk
@@ -294,7 +294,7 @@ $(topics.html): info/emp2html.pl
 ifeq ($(cvs_controlled),yes)
 # Find files and directories under CVS control
 sources.mk: $(scripts)/cvsfiles.awk $(addprefix $(srcdir)/, $(addsuffix CVS/Entries, $(dirs)))
-       echo 'src := ' `cd $(srcdir) && $(AWK) -f src/scripts/cvsfiles.awk | sort` >$@
+       echo 'src := ' `cd $(srcdir) && $(AWK) -f src/scripts/cvsfiles.awk | LC_ALL=C sort` >$@
 else
 ifneq ($(srcdir),.)
 sources.mk: $(srcdir)/sources.mk