diff options
author | Jim Meyering <jim@meyering.net> | 2004-05-13 07:03:00 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-05-13 07:03:00 +0000 |
commit | 50f956a0b0f01c60f11210ca03d4e27d3f35c20f (patch) | |
tree | b78526cc4a0488498a6bcdda50a3377a5a433943 /src | |
parent | bcadb97f7c94e228efe819bcccf99b6cef12a969 (diff) | |
download | coreutils-50f956a0b0f01c60f11210ca03d4e27d3f35c20f.tar.xz |
Don't assume that "make -C" works; Solaris "make" doesn't have -C.
(all_programs.list): New rule, copied from
man/Makefile.am and tests/Makefile.am, except that we use the
system tr rather than ./tr and we don't use tr -s.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 463422398..c03c4ca0c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -209,15 +209,18 @@ fs.h: stat.c extract-magic MAINTAINERCLEANFILES = $(BUILT_SOURCES) +# 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 + all_programs = \ $(bin_PROGRAMS) \ $(bin_SCRIPTS) \ $(EXTRA_PROGRAMS) -# 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 +all_programs.list: + @echo $(all_programs) | tr ' ' '\n' | $(ASSORT) pm = progs-makefile pr = progs-readme |