diff options
author | Jim Meyering <jim@meyering.net> | 2003-08-15 06:54:15 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-08-15 06:54:15 +0000 |
commit | dcdee393d78dcd78cebffa148acff2eb7cf6eac2 (patch) | |
tree | 67d759f2c9d6fcb3c05f019ee6d5950eaf1feed3 /man | |
parent | 2faafb85123a032357c4a01678feb9f65bbdcb52 (diff) | |
download | coreutils-dcdee393d78dcd78cebffa148acff2eb7cf6eac2.tar.xz |
.
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/man/Makefile.in b/man/Makefile.in index 7a3958b8c..ef1d2dd64 100644 --- a/man/Makefile.in +++ b/man/Makefile.in @@ -181,10 +181,15 @@ SUFFIXES = .x .1 t = $*.td mapped_name = `echo $*|sed 's/install/ginstall/; s/test/[/'` +# Sort in traditional ASCII order, regardless of the current locale; +# otherwise we may get into trouble with distinct strings that the +# current locale considers to be equal. +ASSORT = LC_ALL=C sort + programs = \ echo 'spy:;@echo $$(all_programs)' \ | MAKEFLAGS= $(MAKE) -s -C $(srcdir)/../src -f Makefile -f - spy \ - | fmt -1 | sort -u | grep -v '\[' + | fmt -1 | $(ASSORT) -u | grep -v '\[' subdir = man ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 @@ -492,8 +497,8 @@ check-local: check-x-vs-1 check-programs-vs-x check-x-vs-1: PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \ t=ls-files.$$$$; \ - (cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | sort > $$t; \ - echo $(dist_man_MANS) | fmt -w1 | sed 's/\.1$$//' | sort -u \ + (cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | $(ASSORT) > $$t;\ + echo $(dist_man_MANS) | fmt -w1 | sed 's/\.1$$//' | $(ASSORT) \ | diff - $$t || { rm $$t; exit 1; }; \ rm $$t |