diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-04-24 12:54:34 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-04-24 12:54:34 +0000 |
commit | b6ea96d1d540608fefc86c8e14dee1a67b6389db (patch) | |
tree | 6ab0aee90b18b122de4fad78d4431a1d8cb5f2d7 /release/scripts/catpages-make.sh | |
parent | 078c6f01f9c1efbede24fba3e6bf3483edc292d7 (diff) | |
download | src-b6ea96d1d540608fefc86c8e14dee1a67b6389db.tar.gz src-b6ea96d1d540608fefc86c8e14dee1a67b6389db.zip |
Build the catpages distribution in a more natural way.
Notes
Notes:
svn path=/head/; revision=95363
Diffstat (limited to 'release/scripts/catpages-make.sh')
-rwxr-xr-x | release/scripts/catpages-make.sh | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/release/scripts/catpages-make.sh b/release/scripts/catpages-make.sh index ea2c7b3c0760..755057d40ccb 100755 --- a/release/scripts/catpages-make.sh +++ b/release/scripts/catpages-make.sh @@ -3,11 +3,10 @@ # $FreeBSD$ # -# Create the catpages dist - must follow manpages dist script, for obvious -# reasons. -if [ -d ${RD}/trees/manpages/usr/share/man ]; then - su -m man -c 'catman ${RD}/trees/manpages/usr/share/man' > /dev/null 2>&1; - ( cd ${RD}/trees/manpages/usr/share/man; - find cat* whatis | cpio -dumpl ${RD}/trees/catpages/usr/share/man ) && - rm -rf ${RD}/trees/manpages/usr/share/man/cat*; +# 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 |