diff options
Diffstat (limited to 'bin/automake.in')
-rw-r--r-- | bin/automake.in | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/automake.in b/bin/automake.in index b847a0993..306913279 100644 --- a/bin/automake.in +++ b/bin/automake.in @@ -4733,12 +4733,7 @@ sub handle_clean prog_error 'invalid entry in %clean_files' unless exists $rms{$when}; - my $rm = "rm -f $file"; - # If file is a variable, make sure when don't call 'rm -f' without args. - $rm ="test -z \"$file\" || $rm" - if ($file =~ /^\s*\$(\(.*\)|\{.*\})\s*$/); - - push @{$rms{$when}}, "\t-$rm\n"; + push @{$rms{$when}}, "\t-\$(am__rm_f) $file\n"; } $output_rules .= file_contents |