From: Simon Tatham Date: Sat, 13 Jan 2007 12:03:42 +0000 (+0000) Subject: Remove a couple of rogue make targets for `osx.icns.o' and X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=9993f71e4c98eef4d3a7c407a8b0f7cf0d471d92;p=sgt-puzzles.git 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] --- diff --git a/mkfiles.pl b/mkfiles.pl index cefd365..52c9a74 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -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;