mirror of
git://git.savannah.gnu.org/config.git
synced 2025-05-26 09:06:38 +12:00

that is executed via eval, with a POSIX shell function. * Makefile (shellcheck): Ignore SC2039 diagnostics ("In POSIX sh, RANDOM is undefined") and SC2172 ("Trapping signals by number is not well defined. Prefer signal names").
21 lines
515 B
Makefile
21 lines
515 B
Makefile
all:
|
|
|
|
check: check-guess check-sub
|
|
|
|
manpages: doc/config.guess.1 doc/config.sub.1
|
|
|
|
doc/config.guess.1: config.guess
|
|
help2man -N --include=doc/config.guess.x --output=$@ ./config.guess
|
|
|
|
doc/config.sub.1: config.sub
|
|
help2man -N --name "validate and canonicalize a configuration triplet" --output=$@ ./config.sub
|
|
|
|
check-guess:
|
|
cd testsuite && sh config-guess.sh && rm uname
|
|
|
|
check-sub:
|
|
cd testsuite && sh config-sub.sh
|
|
|
|
shellcheck:
|
|
shellcheck -e SC2006,SC2039,SC2172 -f gcc config.guess config.sub testsuite/*.sh
|