summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-07-25 23:16:41 +0200
committerJim Meyering <meyering@redhat.com>2009-07-26 20:42:31 +0200
commit394e3ef72a97b5c7f505956ad49c734c1ff6d146 (patch)
tree1ead8bb593fc7e8e02b2f7f7cdd6173e9e83186e
parent9f9e2d81d1cbb7a4d2761cde3265d399f7c274d5 (diff)
downloadcoreutils-394e3ef72a97b5c7f505956ad49c734c1ff6d146.tar.xz
build: use a fixed-name temporary in man/Makefile.am
* man/Makefile.am (check-x-vs-1): Using a fixed-name temporary file is better than one ending in -$$, because many -$$-suffixed files may accumulate over time.
-rw-r--r--man/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index cacaba663..b56db94fe 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -186,7 +186,7 @@ ASSORT = LC_ALL=C sort
.PHONY: check-x-vs-1
check-x-vs-1:
$(AM_V_GEN)PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \
- t=ls-files.$$$$; \
+ t=$@-t; \
(cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | $(ASSORT) > $$t;\
(echo $(dist_man1_MANS) $(NO_INSTALL_PROGS_DEFAULT) \
| tr -s ' ' '\n' | sed 's/\.1$$//') \