1999-11-13 15:44:36 -01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Install files in /install and some in /doc
|
1999-12-27 16:39:40 -01:00
|
|
|
# 26-dec-99 changes for i386 (2.2.x) bootdisks --jwest
|
2000-03-12 13:36:54 -01:00
|
|
|
# 11-mar-00 added sparc to boot-disk documentation test --jwest
|
1999-11-13 15:44:36 -01:00
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
BDIR=$TDIR/$CODENAME-$ARCH
|
|
|
|
|
2000-03-12 13:36:54 -01:00
|
|
|
# boot-disk location for documentation is inconsistant --jwest
|
1999-11-18 23:17:36 -01:00
|
|
|
if [ "$ARCH" = "powerpc" ]; then
|
|
|
|
DOCDIR="docs"
|
2000-03-12 13:36:54 -01:00
|
|
|
elif [ "$ARCH" = "i386" ]; then
|
|
|
|
DOCDIR="doc"
|
|
|
|
elif [ "$ARCH" = "sparc" ]; then
|
1999-12-27 16:39:40 -01:00
|
|
|
DOCDIR="doc"
|
1999-11-18 23:17:36 -01:00
|
|
|
else
|
|
|
|
DOCDIR="documentation"
|
|
|
|
fi
|
|
|
|
|
1999-11-13 15:44:36 -01:00
|
|
|
# Put the install documentation in /install
|
1999-11-18 23:17:36 -01:00
|
|
|
cd $BDIR/1/dists/$CODENAME/main/disks-$ARCH/current/$DOCDIR
|
|
|
|
mkdir $BDIR/1/install/$DOCDIR
|
|
|
|
cp *.{html,txt} $BDIR/1/install/$DOCDIR/
|
1999-12-06 11:47:54 -01:00
|
|
|
ln -sf install*.html $BDIR/1/install/$DOCDIR/index.html
|
1999-11-13 15:44:36 -01:00
|
|
|
|
|
|
|
# Put the boot-disk documentation in /doc too
|
|
|
|
mkdir $BDIR/1/doc/install
|
|
|
|
cd $BDIR/1/doc/install
|
1999-11-18 23:17:36 -01:00
|
|
|
for file in ../../install/$DOCDIR/*.{html,txt}
|
1999-11-13 15:44:36 -01:00
|
|
|
do
|
|
|
|
ln -s $file
|
|
|
|
done
|
|
|
|
|