chiark / gitweb /
Remove a couple of rogue make targets for `osx.icns.o' and
authorSimon Tatham <anakin@pobox.com>
Sat, 13 Jan 2007 12:03:42 +0000 (12:03 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 13 Jan 2007 12:03:42 +0000 (12:03 +0000)
`osx-info.plist.o' which had crept into most of the Makefiles.

[originally from svn r7099]

mkfiles.pl

index cefd365d663efc7a4e5bd177437643deb26e2500..52c9a741e101da465e17c48bbe96182b6798b85a 100755 (executable)
@@ -414,6 +414,8 @@ sub deps {
       ($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;