From 0ce1a5034c671fb22e9d85d6f209b210f32db909 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 23 Sep 2010 23:54:54 +0000 Subject: doc for rebuilding tlcritical from scratch git-svn-id: svn://tug.org/texlive/trunk@19861 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-tlcritical | 16 ++++++++-------- Master/tlpkg/doc/packages.txt | 7 +++++++ 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/Master/tlpkg/bin/tl-update-tlcritical b/Master/tlpkg/bin/tl-update-tlcritical index 5022a2e7dfe..6a44cced3cb 100755 --- a/Master/tlpkg/bin/tl-update-tlcritical +++ b/Master/tlpkg/bin/tl-update-tlcritical @@ -12,15 +12,15 @@ while test $# -gt 0; do --tlcrit) shift; tlcrit=$1;; --recreate) recreate=--recreate;; --help) echo "Please read the script, sorry."; exit 0;; - --*) echo "$0: unrecognized option \`$1'." >&2; exit 1;; - *) echo "$0: too many parameters" >&2; exit 1;; + --*) echo "$0: unrecognized option: $1" >&2; exit 1;; + *) echo "$0: too many parameters: $1" >&2; exit 1;; esac shift done if test -d "$tlcrit"; then :; else - echo "$0: tlcrit directory must exist." >&2 - exit 1 + echo "$0: tlcrit directory must exist: $tlcrit" >&2 + exit 1 fi mydir=`cd \`dirname $0\` && pwd` @@ -59,10 +59,10 @@ tl-makeself-from-tlnet $tlcrit do_updater sh # update the Windows updater executable. -echo "$0: running tl-update-nsis..." -tl-update-nsis >/tmp/updater.nsi -makensis /tmp/updater.nsi >/tmp/makensis.log -rm -f /tmp/updater.nsi +echo "$0: running tl-update-nsis... (logfile: $TMPDIR/makensis.log)" +tl-update-nsis >$TMPDIR/updater.nsi +makensis $TMPDIR/updater.nsi >$TMPDIR/makensis.log +rm -f $TMPDIR/updater.nsi do_updater exe ls -lt $tlcrit diff --git a/Master/tlpkg/doc/packages.txt b/Master/tlpkg/doc/packages.txt index 11c4c51b9dc..492915b3388 100644 --- a/Master/tlpkg/doc/packages.txt +++ b/Master/tlpkg/doc/packages.txt @@ -19,6 +19,13 @@ To remove a platform: - remove any special cases in Master/tlpkg/tlpsrc. - rebuild. +To remake tlcritical from scratch: + cd /home/ftp/texlive + rm -rf tlcritical + mkdir tlcritical + tl-update-tlcritical --recreate + + When updating the release version (for testing, in advance of the actual release), the default network directory specified in tl-update-tlnet, TLConfig.pm, and release-texlive-txt. Change those. Then make the new -- cgit v1.2.3