build-style/perl-module.sh: use generic do_check function
This commit is contained in:
parent
8af8eb5d4c
commit
0285924292
1 changed files with 7 additions and 0 deletions
|
@ -65,6 +65,13 @@ do_build() {
|
||||||
${makejobs} ${make_build_args} ${make_build_target}
|
${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() {
|
do_install() {
|
||||||
: ${make_cmd:=make}
|
: ${make_cmd:=make}
|
||||||
: ${make_install_target:=install}
|
: ${make_install_target:=install}
|
||||||
|
|
Loading…
Add table
Reference in a new issue