From: Jim Meyering Date: Sat, 25 Jul 2009 21:16:41 +0000 (+0200) Subject: build: use a fixed-name temporary in man/Makefile.am X-Git-Tag: v7.5~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=394e3ef72a97b5c7f505956ad49c734c1ff6d146;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/man/Makefile.am b/man/Makefile.am index cacaba6634..b56db94fe6 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$$//') \