From fc9a0886d6ecb0556fa73a79398a6e8c628bc666 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 19 Jan 2026 17:57:31 +0100 Subject: (check) add basic 'perl -cw' checks --- perl-install/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/perl-install/Makefile b/perl-install/Makefile index ea9904e6a..18271f7eb 100644 --- a/perl-install/Makefile +++ b/perl-install/Makefile @@ -31,6 +31,11 @@ check_pms_encoding: check_full: check_pms_encoding perl -I. -Mlang -e 'lang::check' +# Look for "Uncaught exception" or "has.*errors" +# Excluding *gtk2.pm which are unused by our tools anyway +check: + for i in $$(ls *.pm */*.pm */*/*.pm|grep -v gtk2);do perl -I. -I/usr/lib/libDrakX -cw $$i;done + check2: perl -I/usr/lib/libDrakX/ -Mkeyboard -e 'keyboard::check' -- cgit v1.2.1