summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-01-24 08:22:06 +0000
committerJim Meyering <jim@meyering.net>2005-01-24 08:22:06 +0000
commitb46e3e42eb38950d5ecd2c13dc96b87f247193af (patch)
treeb71e34f7e1d1d7747f7841f793d20ea5465f023d
parent6e946041dedc693f28a29a9367d66a9e11fa88b1 (diff)
downloadcoreutils-b46e3e42eb38950d5ecd2c13dc96b87f247193af.tar.xz
(all_programs.list): Strip $(EXEEXT) and remove duplicates.
-rw-r--r--src/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 468ed5dd7..d70028fac 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -228,7 +228,8 @@ all_programs = \
$(EXTRA_PROGRAMS)
all_programs.list:
- @echo $(all_programs) | tr ' ' '\n' | $(ASSORT)
+ @echo $(all_programs) | tr ' ' '\n' | sed -e 's,$(EXEEXT)$$,,' \
+ | $(ASSORT) -u
pm = progs-makefile
pr = progs-readme