summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-03-27 21:41:56 +0000
committerKarl Berry <karl@freefriends.org>2013-03-27 21:41:56 +0000
commit2cd41c75a2ebe18504b8ffbdaf0b7ed4fa279b30 (patch)
tree3972ef94a2f4b9b942aee58ff2534fe168e824a4 /Master/tlpkg/libexec
parente057505019597f09ca945d8814486fbc5e72f3e9 (diff)
biblatex-philosophy (27mar13)
git-svn-id: svn://tug.org/texlive/trunk@29528 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds31
1 files changed, 25 insertions, 6 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 3c293345b10..2819a40a0e4 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -2504,7 +2504,8 @@ for (@ARGV) {
$package = pop (@x);
my $COOKED_PKG = "$COOKED_TOP/$package"; # output directory
- if ($specialscripts_bin{$package} || $package eq "biber") {
+ if ($specialscripts_bin{$package}
+ || $package =~ /^(biber|context)$/) { # special POSTcases
$BUILDDEST = "$COOKED_PKG/Build/source";
$TOPDEST = "$COOKED_PKG/Master";
} else {
@@ -4798,7 +4799,7 @@ sub POSTbiber {
# handle the prebuilt binaries, which are zipped or tarred.
for my $archive (sort (<biber-*>)) {
- next if $archive =~ /freebsd[68]\./; # we only want freebsd7
+ next if $archive =~ /freebsd[^7]\./; # we only want freebsd7
my $unarchiver = &unarchiver ($archive);
&SYSTEM ("$unarchiver $archive");
@@ -4892,12 +4893,30 @@ sub POSTchemmacros {
sub POSTcontext {
print "POST$package - rearrange, remove\n";
&xchdir ($DEST);
+
+ # clean up files Hans wants in his distribution but are confusing or
+ # problematic in TeX Live.
&SYSTEM ("$MV colors tex/context/colors");
- &SYSTEM ("$RM -rf fonts/truetype/hoekwater/lm/"); #lmtypewriter10-regular.ttf
- &SYSTEM ("$RM -rf fonts/data/tests/"); #texmfhome.otf
- &SYSTEM ("$RM -rf web2c/"); #context*cnf*, texlive2011cnf.lua
+ &SYSTEM ("$RM -rf fonts/truetype/hoekwater/lm/");# lmtypewriter10-regular.ttf
+ &SYSTEM ("$RM -rf fonts/data/tests/"); # texmfhome.otf
+ &SYSTEM ("$RM -rf web2c/"); # context*cnf*, texlive2011cnf.lua
&SYSTEM ("find -name koeiel\* -o -name jmn | xargs rm -rf");
+
+ print "still POST$package - user-level executables\n";
+ # similar to biber, executables go in both the Master bin dir and the
+ # Build linked_scripts dir.
+ my @exec = qw(context mtxrun);
+
+ print "still POST$package - man pages\n";
+ &xchdir ("$DEST/doc/$package/scripts/mkiv");
+ my $mandest = "$TOPDEST/texmf/doc/man/man1";
+ &xmkdir ($mandest);
+ for my $exec (@exec) {
+ &SYSTEM ("$CP $exec.man $mandest/$exec.1");
+ }
+ &tl_man_to_pdf ();
}
+
sub POSTcontext_games {
print "POST$package - remove duplicated fonts\n";
@@ -5263,7 +5282,7 @@ sub POSTzhspacing {
# has to be post instead of specialman because we use the tds.zip.
# Optional argument is directory where the man pages are as distributed
-# on CTAN.
+# on CTAN, else doc/*/$package.
sub POST_do_man {
my ($src_mandir) = @_;
$src_mandir = "doc/*/$package" if ! $src_mandir;