chiark / gitweb /
further refactor filter_subdir_mk, replace loop with calls, nfc
[subdirmk.git] / subdirmk / generate
index 845c9be..2e35b0d 100755 (executable)
@@ -202,10 +202,8 @@ sub filter_subdir_mk ($$$$$) {
                         $var_prefix, $targets,
                         "${srcdir}/$f", \$esclit, $enoentok);
     };
-    for my $f ("${dir_prefix}Subdir.mk.in",
-              "Perdir.mk.in") {
-       $pi->($f, 0);
-    }
+    $pi->("${dir_prefix}Subdir.mk.in", 0);
+    $pi->("Perdir.mk.in",              0);
 }
 
 sub process_subtree ($$);