build: added BUILD_SUBDIR() wrapper
[ira/wip.git] / buildtools / mktowscript / mktowscript.pl
index 86ff65bd2e90fc85a5c3ef7006c376b7e5e7ab12..b1a929a4b31f54684c87359c51412bfb956546d1 100755 (executable)
@@ -186,7 +186,7 @@ foreach my $s (sort {$result->{$a}->{SECNUMBER} <=> $result->{$b}->{SECNUMBER}}
     if ($sec->{TYPE} eq "SUBCONFIG") {
            my $d = dirname($s);
            next if ($d eq ".");
-           printf "bld.add_subdirs('%s')\n", dirname($s);
+           printf "bld.BUILD_SUBDIR('%s')\n", dirname($s);
     } else {
            printf "\nbld.SAMBA_%s('%s'", $sec->{TYPE}, $s;
            my $trailer="";