summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-10 22:10:52 +0000
committerKarl Berry <karl@freefriends.org>2017-09-10 22:10:52 +0000
commit23056da81dd216ac377e040b70c9b78e01c94186 (patch)
tree2ef9d4754fb21d2e16390741fb5d8fcb2045a095 /Master/tlpkg/libexec
parent17ae18d7db87b958fb98d507710e615be1d4cc17 (diff)
bib2gls (10sep17)
git-svn-id: svn://tug.org/texlive/trunk@45266 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-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/.