shithub: puzzles

Download patch

ref: 9993f71e4c98eef4d3a7c407a8b0f7cf0d471d92
parent: c06e371f55b97576421588d21d809c02c637584b
author: Simon Tatham <[email protected]>
date: Sat Jan 13 07:03:42 EST 2007

Remove a couple of rogue make targets for `osx.icns.o' and
`osx-info.plist.o' which had crept into most of the Makefiles.

[originally from svn r7099]

--- a/mkfiles.pl
+++ b/mkfiles.pl
@@ -414,6 +414,8 @@
       ($x = $otmpl) =~ s/X/$i/;
     }
     @deps = @{$depends{$ii}};
+    # Skip things which are their own dependency.
+    next if grep { $_ eq $i } @deps;
     @deps = map {
       $_ = &findfile($_);
       s/\//$dirsep/g;