freebsd-dev/release/scripts/catpages-make.sh

11 lines
383 B
Bash
Raw Normal View History

#!/bin/sh
# 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;
( cd ${RD}/trees/manpages/usr/share/man;
find cat* | cpio -dumpl ${RD}/trees/catpages/usr/share/man ) &&
rm -rf ${RD}/trees/manpages/usr/share/man/cat*;
fi