New build scripts for these distributions.

This commit is contained in:
Jordan K. Hubbard 1997-06-21 15:42:17 +00:00
parent 7284556f8e
commit f523d96216
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26762
6 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/bin/sh
# 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';
( 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

15
release/scripts/dict-make.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
# Move the dict stuff out to its own dist
if [ -d ${RD}/trees/bin/usr/share/dict ]; then
tar -cf - -C ${RD}/trees/bin/usr/share/dict . |
tar -xf - -C ${RD}/trees/dict/usr/share/dict &&
rm -rf ${RD}/trees/bin/usr/share/dict;
fi
for i in airport birthtoken flowers na.phone zipcodes; do
if [ -f ${RD}/trees/bin/usr/share/misc/$$i ]; then
mv ${RD}/trees/bin/usr/share/misc/$$i
${RD}/trees/dict/usr/share/misc;
fi;
done

20
release/scripts/games-make.sh Executable file
View File

@ -0,0 +1,20 @@
#!/bin/sh
# Move all the games out to their own dist
if [ -d ${RD}/trees/bin/usr/games ]; then
tar -cf - -C ${RD}/trees/bin/usr/games . |
tar -xf - -C ${RD}/trees/games/usr/games &&
rm -rf ${RD}/trees/bin/usr/games;
fi
if [ -d ${RD}/trees/bin/usr/share/games ]; then
tar -cf - -C ${RD}/trees/bin/usr/share/games . |
tar -xf - -C ${RD}/trees/games/usr/share/games &&
rm -rf ${RD}/trees/bin/usr/share/games;
fi
if [ -d ${RD}/trees/bin/var/games ]; then
tar -cf - -C ${RD}/trees/bin/var/games . |
tar -xf - -C ${RD}/trees/games/var/games &&
rm -rf ${RD}/trees/bin/var/games;
fi

8
release/scripts/info-make.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
# Move the info files out to their own dist
if [ -d ${RD}/trees/bin/usr/share/info ]; then
tar -cf - -C ${RD}/trees/bin/usr/share/info . |
tar -xf - -C ${RD}/trees/info/usr/share/info &&
rm -rf ${RD}/trees/bin/usr/share/info;
fi

View File

@ -0,0 +1,9 @@
#!/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

View File

@ -0,0 +1,8 @@
#!/bin/sh
# Move the profiled libraries out to their own dist
for i in ${RD}/trees/bin/usr/lib/*_p.a; do
if [ -f $$i ]; then
mv $$i ${RD}/trees/proflibs/usr/lib;
fi;
done