bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] build: use a fixed-name temporary in man/Makefile.am


From: Jim Meyering
Subject: [PATCH] build: use a fixed-name temporary in man/Makefile.am
Date: Sun, 26 Jul 2009 20:55:55 +0200

I noticed a couple of stray ls-files.PID files,
doubtless from an interrupted build.

>From 394e3ef72a97b5c7f505956ad49c734c1ff6d146 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sat, 25 Jul 2009 23:16:41 +0200
Subject: [PATCH] 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.
---
 man/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/man/Makefile.am b/man/Makefile.am
index cacaba6..b56db94 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.$$$$;                                                \
+       address@hidden;                                                         
\
        (cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | $(ASSORT) > $$t;\
        (echo $(dist_man1_MANS) $(NO_INSTALL_PROGS_DEFAULT)             \
          | tr -s ' ' '\n' | sed 's/\.1$$//')                           \
--
1.6.4.rc2.216.g769fa




reply via email to

[Prev in Thread] Current Thread [Next in Thread]