Clean up Make-lang in all subdirs, not just '.'.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 27 Jun 1997 22:34:10 +0000 (18:34 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 27 Jun 1997 22:34:10 +0000 (18:34 -0400)
From-SVN: r14345

gcc/configure.frag

index f8c17dd1c3e55689d5c64c848c0feae4917721b2..56a47fc51894a8957d6aadf4ce739ca39a1137a1 100644 (file)
@@ -20,9 +20,6 @@
 #the Free Software Foundation, 59 Temple Place - Suite 330,
 #Boston, MA 02111-1307, USA.
 
-rm -f Make-lang
-touch Make-lang
-
 # First parameter is the source directory, second is list of subdirectories
 savesrcdir=$1
 savesubdirs=$2
@@ -30,6 +27,9 @@ for subdir in . $savesubdirs
 do
        oldsrcdir=$savesrcdir
 
+       rm -f Make-lang
+       touch Make-lang
+
        # Re-adjust the path
        case $oldsrcdir in
        /*)