diff options
-rwxr-xr-x | Master/tlpkg/bin/tl-update-images | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/tl-update-images b/Master/tlpkg/bin/tl-update-images index 947615aee75..ee8b729fab6 100755 --- a/Master/tlpkg/bin/tl-update-images +++ b/Master/tlpkg/bin/tl-update-images @@ -194,10 +194,15 @@ do_tar () # compress=--xz # - excludes=--exclude-vcs - for e in bibtex epstopdf jfontmaps; do # exclude "upstream" sources - excludes="$excludes --exclude=extra/$e" - done + excludes="--exclude-vcs" + if echo "$name" | grep 'source$' >/dev/null; then + # more excludes for source tarball. + excludes="$excludes --exclude=Work --exclude=inst" + excludes="$excludes --exclude=autom4te.cache" + for e in bibtex epstopdf jfontmaps; do # exclude "upstream" sources + excludes="$excludes --exclude=extra/$e" + done + fi # tar_common_opt="$verbose $compress $excludes" # |