dependency fixlet
authorTom Tromey <tromey@redhat.com>
Wed, 2 Apr 1997 21:19:49 +0000 (21:19 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 2 Apr 1997 21:19:49 +0000 (21:19 +0000)
automake.in

index de975d3..2ab5dae 100755 (executable)
@@ -2449,7 +2449,7 @@ sub scan_dependency_file
 
            $_ = $2;
            # Make sure to strip the .P file from the target.
-           ($target = $1) =~ s, *\.deps/[^.]\.P,,;
+           ($target = $1) =~ s, *\.deps/[^.]+\.P,,;
 
            $first_line = 0;
        }