summaryrefslogtreecommitdiffstats
path: root/release/scripts/catpages-make.sh
blob: 755057d40ccb88f3e899c0f4e4edc9318dbe5ca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#
# $FreeBSD$
#

# Move all the catpages out to their own dist, using the base dist as a
# starting point.  This must precede the manpages dist script.
if [ -d ${RD}/trees/base/usr/share/man ]; then
	( cd ${RD}/trees/base/usr/share/man;
	find cat* whatis | cpio -dumpl ${RD}/trees/catpages/usr/share/man > /dev/null 2>&1) &&
	rm -rf ${RD}/trees/base/usr/share/man/cat*;
fi
OpenPOWER on IntegriCloud