summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2013-02-27 04:12:11 +0000
committerBen Laurie <ben@links.org>2013-03-04 14:31:18 +0000
commitf990fae81287cfe54cc7ac8fb63cc022e32f9fd3 (patch)
treeb4635113cce247ddef9d30e6daa0039f2b51473d /util
parenta32d9eaf077f97a3cefb22669e559d5cc8e1f63a (diff)
Add dependency on destination directory.
Diffstat (limited to 'util')
-rwxr-xr-xutil/mk1mf.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/mk1mf.pl b/util/mk1mf.pl
index ad504de0a9..d2013bb000 100755
--- a/util/mk1mf.pl
+++ b/util/mk1mf.pl
@@ -1312,7 +1312,7 @@ sub do_copy_rule
if ($n =~ /bss_file/)
{ $pp=".c"; }
else { $pp=$p; }
- $ret.="$to${o}$n$pp: \$(SRC_D)$o$_$pp\n\t\$(CP) \"\$(SRC_D)$o$_$pp\" \"$to${o}$n$pp\"\n\n";
+ $ret.="$to${o}$n$pp: \$(SRC_D)$o$_$pp $to\n\t\$(CP) \"\$(SRC_D)$o$_$pp\" \"$to${o}$n$pp\"\n\n";
}
return($ret);
}