summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMaster/tlpkg/bin/tl-update-auto30
1 files changed, 29 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tl-update-auto b/Master/tlpkg/bin/tl-update-auto
index 166a2733d21..aca5bd57b84 100755
--- a/Master/tlpkg/bin/tl-update-auto
+++ b/Master/tlpkg/bin/tl-update-auto
@@ -15,6 +15,8 @@ chicken=
verbose=echo
verbose=false
#
+# Toward the end of a release, we may want to update config.{guess,sub}
+# but nothing else:
config_scripts_only=false
TMPDIR=/tmp/tlua; export TMPDIR
@@ -35,8 +37,10 @@ trap "rm -f $temp*" 0 1 2 15
update_list=
add_list=
+
# autogenerate README.EN from readme.html.
-#
+# (skip, better to generate when needed and avoid spurious changes.)
+#
#if $config_scripts_only; then :; else
#$mydir/htmltext <readme-html.dir/readme.en.html >$temp
#if $diff readme-txt.dir/README.EN $temp >$temp.en.diff; then
@@ -127,6 +131,30 @@ done
fi # !config_scripts_only
+# beebe .bib from elsewhere on tug.org, mirrored from utah.
+#
+if $config_scripts_only; then :; else
+beebe_master=/home/ftp/mirror/ftp.math.utah.edu/bib
+beebe_slave=texmf-dist/texmf-dist/bibtex/bib/beebe
+#
+# Unusually, we check and upate only the bib files already committed to
+# TL, not all from the master area. There are tons of bib files there,
+# some quite large, so await requests. When a new bib is to be added,
+# commit manually the first time.
+files=`cd $beebe_slave && ls *.bib`
+#
+for basef in $files; do
+ beebe_slavef=$beebe_slave/$basef
+ if $diff $beebe_master/$basef $beebe_slavef >$temp.$basef.diff; then
+ $verbose " $beebe_slavef ok."
+ else
+ $chicken $cp $beebe_master/$basef $beebe_slavef
+ update_list="$update_list $beebe_slavef"
+ fi
+done
+fi # !config_scripts_only
+
+
# config.guess/sub/etc. from elsewhere on tug.org, mirrored from gnulib.
# See Build/source/build-aux/README.TL for more info on common scripts.
#