1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/release/scripts/manpages-make.sh
2002-05-25 17:31:27 +00:00

13 lines
323 B
Bash
Executable File

#!/bin/sh
#
# $FreeBSD$
#
# Move all the manpages out to their own dist, using the base dist as a
# starting point.
if [ -d ${RD}/trees/base/usr/share/man ]; then
( cd ${RD}/trees/base/usr/share/man;
find . | cpio -dumpl ${RD}/trees/manpages/usr/share/man > /dev/null 2>&1) &&
rm -rf ${RD}/trees/base/usr/share/man;
fi