[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils
Subject:    [PATCH] maint: remove temporary doc/constants.texi-t during build
From:       Pádraig Brady <P () draigBrady ! com>
Date:       2016-01-13 12:45:08
Message-ID: 1452689108-23798-1-git-send-email-P () draigBrady ! com
[Download RAW message or body]

* doc/local.mk (constants.texi): Remove temp file.
---
 doc/local.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/local.mk b/doc/local.mk
index dad743c..5ba5818 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -42,7 +42,7 @@ doc/constants.texi: $(top_srcdir)/src/tail.c $(top_srcdir)/src/shred.c
 	  sed -n -e \
 	      's/.*\(DEFAULT_PASSES\)[ =]* \([0-9]*\).*/@set SHRED_\1 \2/p'\
 	    $(top_srcdir)/src/shred.c; } > $@-t \
-	  && { cmp $@-t $@ >/dev/null 2>&1 || mv $@-t $@; }
+	  && { cmp $@-t $@ >/dev/null 2>&1 || mv $@-t $@; rm -f $@-t; }
 
 MAINTAINERCLEANFILES += doc/constants.texi
 
-- 
2.5.0



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic