summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2026-01-19 17:57:31 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2026-01-19 17:58:07 +0100
commitfc9a0886d6ecb0556fa73a79398a6e8c628bc666 (patch)
tree596a78f1ac54bee7fdd4b3fdd3651fe197d61010
parentfab70b6b3bb4c7913a45698ff98b8ab5fa903085 (diff)
downloaddrakx-fc9a0886d6ecb0556fa73a79398a6e8c628bc666.tar
drakx-fc9a0886d6ecb0556fa73a79398a6e8c628bc666.tar.gz
drakx-fc9a0886d6ecb0556fa73a79398a6e8c628bc666.tar.bz2
drakx-fc9a0886d6ecb0556fa73a79398a6e8c628bc666.tar.xz
drakx-fc9a0886d6ecb0556fa73a79398a6e8c628bc666.zip
(check) add basic 'perl -cw' checks
-rw-r--r--perl-install/Makefile5
1 files changed, 5 insertions, 0 deletions
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'