summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-01-11 16:50:27 +0000
committerJim Meyering <jim@meyering.net>2005-01-11 16:50:27 +0000
commitd2360a394bc7022f472fd80e26b634d2a8d0dd4d (patch)
tree014f9f4e36446a3bc8bcbbcab709263dad0210db /src
parentff67f295e43d740ca9b0cfa2e69570abc76e5170 (diff)
downloadcoreutils-d2360a394bc7022f472fd80e26b634d2a8d0dd4d.tar.xz
(check-README, check-AUTHORS): Account for $(EXEEXT).
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
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 \