diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2014-10-31 20:12:39 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-10-31 20:12:39 -0400 |
commit | 96fe7e83d4ef7b1f3df997c90413792bcc263649 (patch) | |
tree | 945bdd7de17eae920a07293be9eae64d0c12c6e8 /man/make.sh | |
parent | 8b1eb9c754b9e9aa6d1aa892be08fb2fdf374e29 (diff) |
man: ship pre-build man pages
This addresses https://github.com/gentoo/eudev/issues/98
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'man/make.sh')
-rwxr-xr-x | man/make.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/man/make.sh b/man/make.sh new file mode 100755 index 0000000000..4e2299e33f --- /dev/null +++ b/man/make.sh @@ -0,0 +1,18 @@ +#/bin/sh + +XSLTPROC="/usr/bin/xsltproc" + +XSLTPROC_FLAGS="--stringparam man.output.quietly 1 \ +--stringparam funcsynopsis.style ansi \ +--stringparam man.th.extra1.suppress 1 \ +--stringparam man.authors.section.enabled 0 \ +--stringparam man.copyright.section.enabled 0" + +xslt_proc() { + $XSLTPROC -o $1.$2 $XSLTPROC_FLAGS http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $1.xml +} + +xslt_proc udev 7 +xslt_proc udev.conf 5 +xslt_proc udevd 8 +xslt_proc udevadm 8 |