* 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.
This commit is contained in:
Ben Elliston
2015-11-22 20:41:43 +11:00
parent 6778268ff8
commit 87a3b5e5fd
5 changed files with 114 additions and 0 deletions

View File

@ -2,6 +2,14 @@ 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