summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-08-15 22:30:20 +0000
committerKarl Berry <karl@freefriends.org>2013-08-15 22:30:20 +0000
commitb334c30fe0a0faa600731910cc98905b9f0b4955 (patch)
tree25247ec41ddc97637739cfa4cc3d00627505300d /Master/tlpkg
parent223162e87cec5243ae4b5345d9d5599523632e70 (diff)
missed cstex doc update
git-svn-id: svn://tug.org/texlive/trunk@31438 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check4
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds9
2 files changed, 8 insertions, 5 deletions
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index eea5cf4decf..807c54a6698 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -741,7 +741,7 @@ sub do_tlp {
# the first one we come across, since we'll only find the first one
# on CTAN and we don't want to try to match subdir suffixes.
next if grep { $_ eq $basefile } @tl_basefiles;
-#warn "checking tl file $file -> $basefile\n";
+warn "checking tl file $file -> $basefile\n";
push (@tl_basefiles, $basefile);
# No point in comparing our pdfs now, too many are different.
@@ -774,7 +774,7 @@ sub do_tlp {
}
chomp (my @ctan_files = `find $ctan_dir/ -name $basefile`);
-#warn "ctan find $basefile: @ctan_files\n";
+warn "ctan find $basefile: @ctan_files\n";
# the trailing / is so we dereference a symlink on CTAN.
next if @ctan_files > 1; # if more than one file by same name, skip
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 6c5a0764e89..c28f432753b 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -5143,11 +5143,14 @@ sub POSTcstex {
for my $tarbase ("csplain", "cslatex", "cspsfonts") {
my $tarfile = "base/$tarbase.tar.gz";
my $untar = "tar -C $DEST --strip-components=1 -x -f $tarfile";
- $untar .= " texmf/doc/cstex"; # filter out all but cstex dir
+ $untar .= " texmf/doc/cstex"; # include only the cstex dir
&SYSTEM ($untar);
}
+ # no stray symlinks please.
+ &POST_rmsymlink ();
+ #
&SYSTEM ("$MV doc/README README-doc");
- &SYSTEM ("$MV doc/cstexman.tex .");
+ &SYSTEM ("$MV doc/cstexman.tex doc/cstexman.pdf .");
&SYSTEM ("$MV doc/jemny.* doc/prvni.* .");
&SYSTEM ("$RM -rf README *.zip base/ doc/");
&SYSTEM ("$MV * $DEST/doc/cstex/"); # move all to same dir
@@ -5535,7 +5538,7 @@ sub POST_do_man {
sub POST_rmsymlink {
print "POST$package - removing symlinks\n";
- &SYSTEM ("find $DEST -type l | xargs --no-run-if-empty rm");
+ &SYSTEM ("find $DEST -type l | xargs --no-run-if-empty $RM");
}