summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-05-06 23:27:09 +0000
committerKarl Berry <karl@freefriends.org>2012-05-06 23:27:09 +0000
commit8b30277ca27b1e7626d2611111006f4fa40b7ff8 (patch)
tree89d91907a7adeac20eaadff1dbce24e1c508b8b0 /Master/tlpkg/libexec
parent6e142f4e4ff464728ac333fa9ab9e46ee6f97161 (diff)
gnu-freefont 20120503 (6may12)
git-svn-id: svn://tug.org/texlive/trunk@26232 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds23
1 files changed, 18 insertions, 5 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 2d6d49fa5c4..c7e156d4ef7 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -3449,18 +3449,31 @@ sub MAKEgermbib {
sub MAKEgnu_freefont {
&xchdir ($packagedir);
- # two tarballs and one zip file with a common top-level dir name.
- # do the zip first to avoid overwrite questions.
- &SYSTEM ("unzip -q *.zip && rm *.zip");
- for my $tar (<*.tar.*>) {
- &SYSTEM ("tar xf $tar && rm -rf $tar");
+ #
+ # Let's not include the woff files.
+ &SYSTEM ("$RM *woff*"); # rm remainder
+ #
+ # both tars and zips with a common top-level dir name.
+ # will overwrite some common files, but hopefully they are identical.
+ for my $zip (<*20120503*.zip>) {
+ &SYSTEM ("unzip -o -q $zip && $RM $zip");
}
+ for my $tar (<*20120503*.tar.gz>) {
+ &SYSTEM ("tar xf $tar && $RM $tar");
+ }
+ &SYSTEM ("$RM *.sig *.zip *.tar.gz"); # rm remainder
+ #
# move everything out of the subdir to the doc dir,
# to get ready for setup.
my $docdir = "$DEST/doc/$whichdocformat/$package";
&SYSTEM ("mkdir -p $docdir/");
&SYSTEM ("$MV freefont-*/* $docdir/ && rmdir freefont-*");
#
+ # Move sfd files to source subtree.
+ my $sourcetree = "$DEST/source/$whichdocformat";
+ &SYSTEM ("mkdir -p $sourcetree/");
+ &SYSTEM ("$MV $docdir/sfd $sourcetree/$package");
+ #
&donormal ("nosetup");
}