build-style/perl-module.sh: use generic do_check function

This commit is contained in:
maxice8 2017-11-20 01:27:25 -02:00 committed by Enno Boland
parent 8af8eb5d4c
commit 0285924292

View file

@ -65,6 +65,13 @@ do_build() {
${makejobs} ${make_build_args} ${make_build_target}
}
do_check() {
: ${make_cmd:=make}
: ${make_check_target:=test}
${make_cmd} ${make_check_args} ${make_check_target}
}
do_install() {
: ${make_cmd:=make}
: ${make_install_target:=install}