build-style/gnu-configure.sh: use generic do_check function

This commit is contained in:
Enno Boland 2017-11-19 20:50:29 +01:00
parent 84ee8bc107
commit 0d446641e7
2 changed files with 10 additions and 1 deletions

View file

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