diff options
Diffstat (limited to 'Master/tlpkg/bin/ctan2tds')
-rwxr-xr-x | Master/tlpkg/bin/ctan2tds | 10 |
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 { |