[vlc-commits] [Git][videolan/vlc][master] make.pl: show compiled lua scripts

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Wed Aug 9 12:36:45 UTC 2023



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
e38b161b by Alexandre Janniaux at 2023-08-09T11:07:18+00:00
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

- - - - -


1 changed file:

- extras/buildsystem/make.pl


Changes:

=====================================
extras/buildsystem/make.pl
=====================================
@@ -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 ||



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e38b161b7bedda39af3dff4dc5465f704cc7f3c0

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e38b161b7bedda39af3dff4dc5465f704cc7f3c0
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list