summaryrefslogtreecommitdiff
blob: e89ad7af0c7b68233ccca47c8767ad0b34374f43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh

ret=0

vecho "man:"
for x in "${D}"opt/*/man "${D}"usr/share/man "${D}"usr/local/man "${D}"usr/X11R6/man ; do
	if [[ -d ${x} ]] ; then
		x=${x#${D}}
		x=${x%/man}
		prepman "${x}"
		((ret+=$?))
	fi
done

exit ${ret}