summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds18
1 files changed, 16 insertions, 2 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 8c604f3a178..2d20b21ff6f 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1293,6 +1293,7 @@ chomp ($Build = `cd $Master/../Build/source && pwd`);
'apalike' => '&POSTapalike',
'asapsym' => '&POSTasapsym',
'autosp' => '&POSTautosp',
+ 'bib2gls' => '&POSTbib2gls',
'biber' => '&POSTbiber',
'biblatex' => '&POSTbiblatex',
'bibtex' => '&POSTbibtex',
@@ -2263,6 +2264,7 @@ $standardsource = '(\.(bat|c|drv|dtx|fea|fdd|ins|sfd)'
'arabxetex', 'NULL', # dtx with others, why not
'babelbib', 'NULL', # dtx with others, why not
'bbold', $standardsource . '|fonttabl.sty',
+ 'bib2gls', 'src/',
'biber', '.', # everything, lots to do in post
'bibtexperllibs', '.', # everything
'bigints', 'NULL',
@@ -2760,6 +2762,7 @@ $standardttf = '\.ttf|\.TTC';
# scripts to install under texmf*/.../scripts, but not bindir.
%specialscripts_nobin = (
+ 'bib2gls' => '\.jar$',
'changes' => '\.bash$',
'cloze' => '\.lua$',
'epspdf' => '(epspdf(|\.help|boot|tk)|\.rb|makegray\.pro)$',
@@ -2793,6 +2796,7 @@ $standardttf = '\.ttf|\.TTC';
'adhocfilelist' => 'adhocfilelist\.sh$',
'arara' => 'arara\.sh$',
'authorindex' => 'authorindex$',
+ 'bib2gls' => '\.sh$',
'bibexport' => 'bibexport\.sh$',
'bundledoc' => '(arlatex|bundledoc)$',
'checkcites' => '\.lua$',
@@ -3661,8 +3665,9 @@ sub doscripts {
if $linkname eq "texdef"; # latexdef->texdef
} else {
- # Windows. If a shell script, usually skip. Else copy the wrapper.
- if ($s !~ /arara|texosquery/) { # java programs, want wrapper.
+ # Windows. If a shell script, usually skip, except for Java
+ # programs. Else copy the wrapper.
+ if ($s !~ /arara|bib2gls|convertgls2bib|texosquery/) {
next if $s =~ /\.sh$/ && $s !~ /-sys\.sh$/;
}
#
@@ -5418,6 +5423,15 @@ sub POSTautosp {
&preserve_man_pages ($package);
}
+sub POSTbib2gls {
+ print "POST$package - resources xml, src dir\n";
+ my $resources_dir = "$DEST/scripts/$package/resources";
+ &mv_with_mkdir ("$package-en.xml", $resources_dir);
+ #
+ my $source_dir = "$DEST/source/support/$package";
+ &SYSTEM ("$MV src $source_dir");
+}
+
sub POSTbiber {
print "POST$package - unpack and install binaries\n";
# we've started with everything under source/.