summaryrefslogtreecommitdiff
blob: c3dd05bf96aef02567aaf0e1a28a4ebc989e2c08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id: /var/cvsroot/gentoo-src/portage/bin/prepallman,v 1.10 2004/10/04 13:56:50 vapier Exp $

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