]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: remove temporary doc/constants.texi-t during build
authorPádraig Brady <P@draigBrady.com>
Wed, 13 Jan 2016 12:11:39 +0000 (12:11 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 13 Jan 2016 12:11:39 +0000 (12:11 +0000)
* doc/local.mk (constants.texi): Remove temp file.

doc/local.mk

index dad743c5bc148e078dd0862022a3d0393235d2e0..5ba58186f500cde6f045d5881a8e39003e0fe20d 100644 (file)
@@ -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