summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/Makefile.in6
-rw-r--r--src/Makefile.in5
2 files changed, 6 insertions, 5 deletions
diff --git a/man/Makefile.in b/man/Makefile.in
index 296aae2de..2c3b1e947 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -309,7 +309,7 @@ mapped_name = `echo $*|sed 's/install/ginstall/; s/test/[/'`
ASSORT = LC_ALL=C sort
all_programs = \
(cd ../src && MAKEFLAGS= $(MAKE) -s all_programs.list) \
- | sed -e 's,$(EXEEXT)$$,,' | grep -v '\['
+ | grep -v '\['
all: all-am
@@ -616,10 +616,10 @@ yes.1: $(common_dep) $(srcdir)/yes.x ../src/yes.c
@rm -f $@
@echo "Updating man page $@"; \
mkdir $t; \
- (cd $t && $(LN_S) ../../src/$(mapped_name)$(EXEEXT) $*$(EXEEXT)); \
+ (cd $t && $(LN_S) ../../src/$(mapped_name) $*); \
$(PERL) -- $(srcdir)/help2man \
--include=$(srcdir)/$*.x \
- --output=$@ $t/$*$(EXEEXT)
+ --output=$@ $t/$*
@chmod a-w $@
@rm -rf $t
diff --git a/src/Makefile.in b/src/Makefile.in
index cee659660..b0f3a4b8a 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -943,7 +943,7 @@ uninstall-binPROGRAMS:
done
clean-binPROGRAMS:
- -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) > /dev/null 2>&1 || /bin/rm -f $(bin_PROGRAMS)
+ -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
installcheck-binPROGRAMS: $(bin_PROGRAMS)
bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \
@@ -1640,7 +1640,8 @@ fs.h: stat.c extract-magic
mv $@t $@
all_programs.list:
- @echo $(all_programs) | tr ' ' '\n' | $(ASSORT)
+ @echo $(all_programs) | tr ' ' '\n' | sed -e 's,$(EXEEXT)$$,,' \
+ | $(ASSORT) -u
# Ensure that the list of programs in README matches the list
# of programs we can build.
check: check-README check-misc check-AUTHORS