changeset 37917:50efe0b68448

verify-tests: also remove stray test-verify.Tpo * modules/verify-tests (Makefile.am): Arrange for "make clean" to remove the test-verify.Tpo file that is left behind by the automake-generated rule upon compilation failure. Otherwise, that .Tpo file would cause a failed "make distcheck" at least for grep.
author Jim Meyering <meyering@fb.com>
date Tue, 02 Feb 2016 21:39:44 -0800
parents b8ba962b0e1b
children d22c54aba3cb
files ChangeLog modules/verify-tests
diffstat 2 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Feb 02 14:29:53 2016 -0800
+++ b/ChangeLog	Tue Feb 02 21:39:44 2016 -0800
@@ -1,3 +1,12 @@
+2016-02-02  Jim Meyering  <meyering@fb.com>
+
+	verify-tests: also remove stray test-verify.Tpo
+	* modules/verify-tests (Makefile.am): Arrange for "make clean"
+	to remove the test-verify.Tpo file that is left behind by
+	the automake-generated rule upon compilation failure.
+	Otherwise, that .Tpo file would cause a failed "make distcheck"
+	at least for grep.
+
 2016-02-02  Paul Eggert  <eggert@cs.ucla.edu>
 
 	std-gnu11: new module
--- a/modules/verify-tests	Tue Feb 02 14:29:53 2016 -0800
+++ b/modules/verify-tests	Tue Feb 02 21:39:44 2016 -0800
@@ -11,3 +11,8 @@
 TESTS_ENVIRONMENT += MAKE='$(MAKE)'
 TESTS += test-verify test-verify.sh
 check_PROGRAMS += test-verify
+
+# This test expects compilation of test-verify.c to fail, and
+# each time it fails, the makefile rule does not perform the usual
+#  "mv -f $name.Tpo $name.po, so tell make clean to remove that file.
+MOSTLYCLEANFILES += .deps/test-verify.Tpo