mirror of
https://github.com/coreutils/coreutils.git
synced 2024-12-21 07:48:04 +08:00
Don't assume that "make -C" works; Solaris "make" doesn't have -C.
* src/Makefile.am (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. * tests/Makefile.am (all_programs): Use it.
This commit is contained in:
parent
50f956a0b0
commit
2b4882c233
@ -5,10 +5,7 @@
|
||||
# current locale considers to be equal.
|
||||
ASSORT = LC_ALL=C sort
|
||||
|
||||
all_programs = \
|
||||
echo 'spy:;@echo $$(all_programs)' \
|
||||
| MAKEFLAGS= $(MAKE) -s -C ../src -f Makefile -f - spy \
|
||||
| ../src/tr -s ' ' '\n' | $(ASSORT) -u
|
||||
all_programs = (cd ../src && MAKEFLAGS= $(MAKE) -s all_programs.list)
|
||||
|
||||
TESTS = help-version
|
||||
TESTS_ENVIRONMENT = \
|
||||
|
Loading…
Reference in New Issue
Block a user