found. Fixes new failure in pr87.test.
+2001-02-08 Tom Tromey <tromey@redhat.com>
+
+ * automake.in (file_contents): Only add $actions if any are
+ found. Fixes new failure in pr87.test.
+
2001-02-08 Pavel Roskin <proski@gnu.org>
* tests/pr87.test: Check foo/Makfile.in after it is created.
$result_rules .= "$targets:";
$result_rules .= " $dependencies"
if $dependencies;
- $result_rules .= "\n$actions\n";
+ $result_rules .= "\n";
+ # Only add actions if we found some. Otherwise
+ # we can end up with a spurious newline. See
+ # pr87.test.
+ $result_rules .= "$actions\n"
+ if $actions;
}
$comment = $separator = '';
last;