1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/release/scripts/manpages-make.sh
1997-06-21 15:42:17 +00:00

10 lines
303 B
Bash
Executable File

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