]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Fix remake rule-induced test failures with HP-UX make.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 15 Jan 2011 13:29:55 +0000 (14:29 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 15 Jan 2011 13:29:55 +0000 (14:29 +0100)
* tests/colon6.test: Update timestamp of subdir Makefile, so we
do not spuriously invoke the nonexistent toplevel am--refresh
rule.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/colon6.test

index b44d9447b88263ff41df4a3a42253ed1202ae3fc..560ba81b2532d373a100ae3f2c1f40acaf37d563 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-01-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       Fix remake rule-induced test failures with HP-UX make.
+       * tests/colon6.test: Update timestamp of subdir Makefile, so we
+       do not spuriously invoke the nonexistent toplevel am--refresh
+       rule.
+
        tests: fix typos in colon6.test
        * tests/colon6.test: Fix typos.
 
index f44a85c6fd6f616691a154d4407e5a1f013de544..0dc0372eea94e72385ed9329a51023b81c6931af 100755 (executable)
@@ -63,6 +63,11 @@ for vpath in : false; do
   cd demo
 
   $sleep
+  # HP-UX make considers targets with exact time stamps as one of their
+  # prerequisites out of date.  Ensure Makefile is newer than config.status to
+  # avoid triggering the am--refresh rule in the (here-nonexistent) toplevel
+  # Makefile.
+  touch Makefile
 
   # version.good should depend on version.gin.
   echo "Rebuilt (srcdir=$srcdir)" > ../$srcdir/demo/version.gin