New build scripts for these distributions.
This commit is contained in:
parent
7284556f8e
commit
f523d96216
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26762
10
release/scripts/catpages-make.sh
Executable file
10
release/scripts/catpages-make.sh
Executable 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
15
release/scripts/dict-make.sh
Executable 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
20
release/scripts/games-make.sh
Executable 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
8
release/scripts/info-make.sh
Executable 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
|
9
release/scripts/manpages-make.sh
Executable file
9
release/scripts/manpages-make.sh
Executable 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
|
8
release/scripts/proflibs-make.sh
Executable file
8
release/scripts/proflibs-make.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user