eudev/man/make.sh

26 lines
565 B
Bash
Raw Normal View History

#/bin/sh
set -e
XSLTPROC="/usr/bin/xsltproc"
2022-04-06 09:26:11 +07:00
XSLTPROC_FLAGS="--nonet \
--xinclude \
--maxdepth 9000 \
--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() {
2022-04-06 09:26:11 +07:00
[ "$V" = 1 ] && echo $XSLTPROC -o $1.$2 $XSLTPROC_FLAGS custom-man.xsl $1.xml
$XSLTPROC -o $1.$2 $XSLTPROC_FLAGS custom-man.xsl $1.xml
}
xslt_proc udev 7
2022-04-06 09:26:11 +07:00
xslt_proc hwdb 7
xslt_proc udev.conf 5
xslt_proc udevd 8
xslt_proc udevadm 8