[project @ 1998-02-25 12:17:06 by sof]
authorsof <unknown>
Wed, 25 Feb 1998 12:17:06 +0000 (12:17 +0000)
committersof <unknown>
Wed, 25 Feb 1998 12:17:06 +0000 (12:17 +0000)
Prefix output with a newline to cope with Makefiles not having a newline at the end

ghc/utils/mkdependHS/mkdependHS.prl

index c7b5488..5f41dd6 100644 (file)
@@ -218,7 +218,7 @@ while ($_ && $_ ne $End_magic_str) { # delete 'til End_magic_str
     $_ = <OMKF>;
 }
 # insert dependencies
-print $Begin_magic_str, @Depend_lines, $End_magic_str || die "Failed to write out dependencies ($!)";
+print "\n$Begin_magic_str", @Depend_lines, $End_magic_str || die "Failed to write out dependencies ($!)";
 
 while (<OMKF>) { # copy the rest through
     print $_ || die "Failed to write out dependencies ($!)";