summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/fonts/gentium-tug/make-zip-4CTAN.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/fonts/gentium-tug/make-zip-4CTAN.sh')
-rwxr-xr-xMaster/texmf-dist/source/fonts/gentium-tug/make-zip-4CTAN.sh25
1 files changed, 11 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/fonts/gentium-tug/make-zip-4CTAN.sh b/Master/texmf-dist/source/fonts/gentium-tug/make-zip-4CTAN.sh
index a7df3507cb8..8d8d386abf1 100755
--- a/Master/texmf-dist/source/fonts/gentium-tug/make-zip-4CTAN.sh
+++ b/Master/texmf-dist/source/fonts/gentium-tug/make-zip-4CTAN.sh
@@ -1,10 +1,9 @@
#!/bin/sh
-# $Id: make-zip-4CTAN.sh 147 2022-05-21 22:20:08Z karl $
+# $Id: make-zip-4CTAN.sh 157 2022-05-31 22:20:57Z karl $
# This file is part of the Gentium package for TeX.
# It is licensed under the Expat License, see doc//README for details.
#
-# Build the distribution zip file for uploading to CTAN, which includes
-# a "flat" tree and another .tds.zip with the full TDS directory tree.
+# Build the distribution zip file for uploading to CTAN, a "flat" tree.
mydir=`cd \`dirname $0\` && pwd`
@@ -46,19 +45,17 @@ $rsync "$TDS/fonts/enc/dvips/$pkgname/" "$CTAN/enc/"
$rsync "$TDS/fonts/map/dvips/$pkgname/" "$CTAN/map/dvips/"
$rsync "$TDS/fonts/map/pdftex/$pkgname/" "$CTAN/map/pdftex/"
-printf "\f making .tds.zip:\n"
-tdszip_dest=$tmpdir
-(cd $TDS \
- && zip -qr $tdszip_dest/$pkgname.tds.zip [a-z]* -x \*.svn\*) # not README
-
-printf "\f making combined zip for upload:\n"
+printf "\f making flat zip for upload:\n"
ln -s doc/README $CTAN/README
-(cd $tmpdir && zip -qry $tmpdir/$pkgname.zip *) # -y: keep README as symlink
+(cd $tmpdir && zip -qryll $tmpdir/$pkgname.zip *)
+# -y: keep README as symlink
+# -ll: convert CRLF to LF (for SIL files).
-# create a single .zip for upload that contains
-# a) $pkgname.tds.zip
-# b) $pkgname/ subdir for browsing
+# create a single .zip for upload that
+# a $pkgname/ subdir for browsing.
# because that's what CTAN wants these days.
+# We used to also distribute a .tds.zip,
+# but it doubles the size of the upload to no real purpose.
if $local; then :; else
echo
@@ -69,4 +66,4 @@ if $local; then :; else
fi
zipinfo -1 $tmpdir/$pkgname.zip >$tmpdir/$pkgname.lst
-ls -l $tdszip_dest/$pkgname.tds.zip $tmpdir/$pkgname.zip $tmpdir/$pkgname.lst
+ls -l $tmpdir/$pkgname.zip $tmpdir/$pkgname.lst