summaryrefslogtreecommitdiff
path: root/Build/tools
diff options
context:
space:
mode:
Diffstat (limited to 'Build/tools')
-rwxr-xr-xBuild/tools/ctan2tl14
-rwxr-xr-xBuild/tools/tpm-ctan-check4
2 files changed, 13 insertions, 5 deletions
diff --git a/Build/tools/ctan2tl b/Build/tools/ctan2tl
index fb926c9cd6c..3fa9339714d 100755
--- a/Build/tools/ctan2tl
+++ b/Build/tools/ctan2tl
@@ -104,7 +104,7 @@ tpmfile=`ls $Master/texmf*/tpm/$pkg.tpm 2>/dev/null`
if test -z "$tpmfile"; then
echo "$0: no tpm file for $pkg in `cd $Master; pwd`." >&2
else
- printf "\n\f compared to current tpm $tpmfile\n"
+ printf "\n\f new vs. present $tpmfile\n"
rm -f /tmp/pkgfiles.*
# remove leading text in case of lines starting with texmf.
# Then assume all actual files do start with texmf.
@@ -114,9 +114,17 @@ else
#
# list of files in the new package we've just cooked.
(cd $pkg && find \! -type d -print) | grep -v '/cooked/' \
- | sort >/tmp/pkgfiles.tl
+ | sort >/tmp/pkgfiles.new
#
- comm -3 /tmp/pkgfiles.tpm /tmp/pkgfiles.tl
+ comm -3 /tmp/pkgfiles.new /tmp/pkgfiles.tpm
+ #
+ for common_file in `comm -12 /tmp/pkgfiles.new /tmp/pkgfiles.tpm`; do
+ diff -u0 $pkg/$common_file $Master/$common_file
+ done >/tmp/tldiff
+ diff_lines=`wc -l </tmp/tldiff`
+ diff_lines=`expr $diff_lines / 2`
+ printf "%d common files, ~%d lines different (/tmp/tldiff)\n" \
+ `comm -12 /tmp/pkgfiles.new /tmp/pkgfiles.tpm | wc -l` $diff_lines
fi
printf "\n\f place $place_chicken\n"
diff --git a/Build/tools/tpm-ctan-check b/Build/tools/tpm-ctan-check
index 9ad0d4f6298..bfb48bf6f3c 100755
--- a/Build/tools/tpm-ctan-check
+++ b/Build/tools/tpm-ctan-check
@@ -26,7 +26,7 @@ sub main
"a0poster", "aastex", "abbr", "abstract",
#"abstyles", not updated, but too old to matter
"accfonts", "acronym", "algorithm2e", "algorithms",
- "amsldoc-it", "amsthdoc-it", "apacite",
+ "amsldoc-it", "amsthdoc-it", "apacite", "arabtex",
"archaic", "arev", "ascii",
"babel", "babelbib", "beamer-tut-pt", "beebe", "betababel",
"bezos", "bghyphen", "bibhtml",
@@ -42,7 +42,7 @@ sub main
"etaremune", "esint",
"esint-type1", "ethiop", "europecv", "everypage", "exercise",
"exteps",
- "featpost", "flagderiv", "flippdf", ""floatflt", "floatrow", "flowfram",
+ "featpost", "flagderiv", "flippdf", "floatflt", "floatrow", "flowfram",
"fltpoint", "fmtcount", "fncychap", "fontspec", "formular",
"fourier", "free-math-font-survey",
"genmisc", "glossary", "gost", "graphics", "graphicx-psmin",