config/Makefile
Ben Elliston 87a3b5e5fd * Makefile (manpages): New target.
(doc/config.guess.1): Build man page with help2man.
	(doc/config.sub.1): Likewise.
	* doc/config.guess.x: Copied from Autoconf tree.
	* doc/config.guess.1: Generate.
	* doc/config.sub.1: Likewise.
2015-11-22 20:41:43 +11:00

18 lines
396 B
Makefile

all:
check: check-guess check-sub
manpages: doc/config.guess.1 doc/config.sub.1
doc/config.guess.1:
help2man -N --include=doc/config.guess.x --output=$@ ./config.guess
doc/config.sub.1:
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