summaryrefslogtreecommitdiff
blob: 39aab53ba1382321a8cf0229cb97da88c482aec8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/prepallman,v 1.8 2003/02/22 16:59:08 carpaski Exp $

echo "man:"
for x in "${D}"opt/*/man "${D}"usr/share/man "${D}"usr/local/man "${D}"usr/X11R6/share/man ; do
	if [ -d "${x}" ]
	then
		prepman "`echo "${x}" | sed -e "s:${D}::" -e "s:/man[/]*$::"`"
	fi
done