make.pl: show compiled lua scripts

Extract the build target when building luac files.

Before:

    MAKE     : share
    ...
    luac -o lua/extensions/VLSub.luac ../../share/lua/extensions/VLSub.lua

After:

    MAKE     : share
    ...
     COMPILE : lua/extensions/VLSub.luac
This commit is contained in:
Alexandre Janniaux 2023-08-08 11:33:42 +02:00 committed by Jean-Baptiste Kempf
parent 9459286c77
commit e38b161b7b
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ while(<STDIN>)
$line =~ s/^.* (lib.*\.so).*/ LINK : $1/g ||
$line =~ s/^.* (lib.*\.o)\s\.\/(.*)/ COMPILE : $2/g ||
$line =~ s/^.*(lib.*\.lo)\s.*/ COMPILE : $1/g ||
$line =~ s/^.* (.*\.luac)\s.*/ COMPILE : $1/g ||
$line =~ s/^.* (lib.*\.o)\s`.*`(.*);\ \\/ COMPILE : $2/ ||
$line =~ s/.*\-o\s([^\s]*)\s`.*`([^\s]*);.*/ COMPILE : $2/g ||
$line =~ s/^[A-z0-9-]*ranlib\s(.*)/ RANLIB : $1/g ||