diff options
author | Norbert Preining <norbert@preining.info> | 2022-06-02 03:03:07 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-06-02 03:03:07 +0000 |
commit | d04e1ae659e8517e73bdabbd147386187d88fcb4 (patch) | |
tree | effdc25fc252bc1eaa513934be50107c297c2140 /fonts/gentium-tug/source/make-zip-4CTAN.sh | |
parent | 395236b957a38aebc12c385c6de965af2b61f034 (diff) |
CTAN sync 202206020303
Diffstat (limited to 'fonts/gentium-tug/source/make-zip-4CTAN.sh')
-rwxr-xr-x | fonts/gentium-tug/source/make-zip-4CTAN.sh | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/fonts/gentium-tug/source/make-zip-4CTAN.sh b/fonts/gentium-tug/source/make-zip-4CTAN.sh index a7df3507cb..8d8d386abf 100755 --- a/fonts/gentium-tug/source/make-zip-4CTAN.sh +++ b/fonts/gentium-tug/source/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 |