summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-12-25 19:55:32 +0000
committerKarl Berry <karl@freefriends.org>2007-12-25 19:55:32 +0000
commit57b6bdd7ce9155595f073c8e3c1a689a14f89e6a (patch)
tree37adee0138d0da146f5d11081b7197ff8f30079f /Master/tlpkg
parent49455a020514ef25d7ef902ed0a33348ac68cf1c (diff)
gmdoc update (19nov07)
git-svn-id: svn://tug.org/texlive/trunk@5905 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds10
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds
index 6ef2e224df3..0e78266e90b 100755
--- a/Master/tlpkg/bin/ctan2tds
+++ b/Master/tlpkg/bin/ctan2tds
@@ -2610,13 +2610,15 @@ sub MAKEcatalog {
# all the lshort translations are pretty similar.
sub MAKElshort {
- print "MAKElshort\n";
+ print "MAKElshort $package\n";
(my $lang = $package) =~ s,.*-,,; # lshort-english -> english
my $destdir = "$DEST/doc/$lang/$package";
- &SYSTEM("mkdir -p $destdir");
- &SYSTEM("$CP -r $packagedir/* $destdir");
+ &SYSTEM ("mkdir -p $destdir");
+ &SYSTEM ("$CP -r $packagedir/* $destdir");
# keep only pdf's to save space.
- &SYSTEM("cd $destdir && $RM lshort*.ps *lshort*.ps.*z* lshort*.dvi lshort-*-book.zip");
+ &SYSTEM ("cd $destdir && $RM lshort*.ps *lshort*.ps.*z* lshort*.dvi lshort-*-book.zip");
+ # remove symlinks such as README.
+ &SYSTEM ("cd $destdir && find -type l | xargs rm");
}
sub MAKEltt {