diff options
author | Jim Meyering <jim@meyering.net> | 2005-01-11 16:50:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-01-11 16:50:27 +0000 |
commit | d2360a394bc7022f472fd80e26b634d2a8d0dd4d (patch) | |
tree | 014f9f4e36446a3bc8bcbbcab709263dad0210db /src | |
parent | ff67f295e43d740ca9b0cfa2e69570abc76e5170 (diff) | |
download | coreutils-d2360a394bc7022f472fd80e26b634d2a8d0dd4d.tar.xz |
(check-README, check-AUTHORS): Account for $(EXEEXT).
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 7e4d6e33e..468ed5dd7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -239,7 +239,8 @@ check: check-README check-misc check-AUTHORS check-README: rm -rf $(pr) $(pm) echo $(all_programs) \ - | tr -s ' ' '\n' | $(ASSORT) -u > $(pm) && \ + | tr -s ' ' '\n' | sed -e 's,$(EXEEXT)$$,,' \ + | $(ASSORT) -u > $(pm) && \ sed -n '/^The programs .* are:/,/^[a-zA-Z]/p' $(top_srcdir)/README \ | sed -n '/^ */s///p' | tr -s ' ' '\n' > $(pr) diff $(pm) $(pr) && rm -rf $(pr) $(pm) @@ -250,7 +251,8 @@ au_actual = authors-actual .PHONY: check-AUTHORS check-AUTHORS: $(all_programs) rm -f $(au_actual) $(au_dotdot) - for i in `ls $(all_programs) | $(ASSORT) -u`; do \ + for i in `ls $(all_programs) | sed -e 's,$(EXEEXT)$$,,' \ + | $(ASSORT) -u`; do \ test "$$i" = '[' && continue; \ exe=$$i; \ if test "$$i" = install; then \ |