mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-07-29 03:50:45 +02:00
(programs, check-x-vs-1): Use ../src/tr -s ' ' '\n' in place
of `fmt -1'. Using the just-built tr is a little cleaner. Christian Krackowizer reported that HPUX 10.20 doesn't have fmt.
This commit is contained in:
+3
-3
@@ -149,14 +149,14 @@ check-x-vs-1:
|
||||
PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \
|
||||
t=ls-files.$$$$; \
|
||||
(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; }; \
|
||||
echo $(dist_man_MANS) | tr -s ' ' '\n' | sed 's/\.1$$//' \
|
||||
| $(ASSORT) | diff - $$t || { rm $$t; exit 1; }; \
|
||||
rm $$t
|
||||
|
||||
programs = \
|
||||
echo 'spy:;@echo $$(all_programs)' \
|
||||
| MAKEFLAGS= $(MAKE) -s -C ../src -f Makefile -f - spy \
|
||||
| fmt -1 | $(ASSORT) -u | grep -v '\['
|
||||
| ../src/tr -s ' ' '\n' | $(ASSORT) -u | grep -v '\['
|
||||
|
||||
.PHONY: check-programs-vs-x
|
||||
check-programs-vs-x:
|
||||
|
||||
Reference in New Issue
Block a user