1997-06-21 15:42:17 +00:00
|
|
|
#!/bin/sh
|
2001-04-08 23:09:21 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
1997-06-21 15:42:17 +00:00
|
|
|
|
|
|
|
# Create the catpages dist - must follow manpages dist script, for obvious
|
|
|
|
# reasons.
|
|
|
|
if [ -d ${RD}/trees/manpages/usr/share/man ]; then
|
1997-06-21 15:56:50 +00:00
|
|
|
su -m man -c 'catman ${RD}/trees/manpages/usr/share/man' > /dev/null 2>&1;
|
1997-06-21 15:42:17 +00:00
|
|
|
( cd ${RD}/trees/manpages/usr/share/man;
|
1998-04-26 08:34:26 +00:00
|
|
|
find cat* whatis | cpio -dumpl ${RD}/trees/catpages/usr/share/man ) &&
|
1997-06-21 15:42:17 +00:00
|
|
|
rm -rf ${RD}/trees/manpages/usr/share/man/cat*;
|
|
|
|
fi
|