summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-images
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/tl-update-images')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-images10
1 files changed, 9 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tl-update-images b/Master/tlpkg/bin/tl-update-images
index 9929747722a..c09a610df25 100755
--- a/Master/tlpkg/bin/tl-update-images
+++ b/Master/tlpkg/bin/tl-update-images
@@ -75,20 +75,28 @@ MAKEINST ()
rm -rf $imgdir
mkdir $imgdir
- # files and just a couple small dirs from master.
+ # files and a few dirs from master.
cp -p $master/.mkisofsrc $imgdir # mkisofs control
cp -p $master/* $imgdir 2>/dev/null || true # intentionally skip dirs
cp -pr $master/readme* $master/source $imgdir # do these few dirs
+ # included preformatted doc in new dir for the DVD.
+ mkdir $imgdir/texlive-doc
+ (cd $master/texmf/doc/texlive && tar cf - \
+ index.html */*.html */*.pdf */*.png \
+ | (cd $imgdir/texlive-doc && tar xf -))
+
# files from tlnet.
cd /home/ftp/texlive/tlnet
cp -pr install-tl *.bat tlpkg archive $imgdir
cd $imgdir || exit 1
+ # cleanups of files we didn't want after all.
rm doc.html tlpkg/texlive.tlpdb.xz
cmd="$mkisofs $common_mkisofs_options -o $iso ."
echo "-- `date` with: $cmd"
$cmd
+ chmod a+rw $iso
rm -rf $imgdir