summaryrefslogtreecommitdiff
path: root/Build
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 /Build
parent17ae18d7db87b958fb98d507710e615be1d4cc17 (diff)
bib2gls (10sep17)
git-svn-id: svn://tug.org/texlive/trunk@45266 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.am3
-rw-r--r--Build/source/texk/texlive/linked_scripts/Makefile.in2
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/bib2gls/bib2gls.sh12
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/bib2gls/convertgls2bib.sh12
-rw-r--r--Build/source/texk/texlive/linked_scripts/scripts.lst2
5 files changed, 31 insertions, 0 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.am b/Build/source/texk/texlive/linked_scripts/Makefile.am
index b240e051c17..32804d0c3a8 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.am
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.am
@@ -46,6 +46,7 @@ installdirs-local:
##
## WIN_WRAPPER is w32_wrapper for 32-bit or w64_wrapper for 64-bit.
##
+## The "shell" list aren't just shell scripts, in either direction.
## Some /bin/sh scripts are listed as `other' or `context'
## scripts because they are correctly handled by the wrapper binaries.
## Conversely, some non-sh scripts are listed as `shell' because they
@@ -90,6 +91,8 @@ texmf_other_scripts = \
accfonts/vpl2vpl \
arara/arara.sh \
authorindex/authorindex \
+ bib2gls/bib2gls.sh \
+ bib2gls/convertgls2bib.sh \
bundledoc/arlatex \
bundledoc/bundledoc \
cachepic/cachepic.tlu \
diff --git a/Build/source/texk/texlive/linked_scripts/Makefile.in b/Build/source/texk/texlive/linked_scripts/Makefile.in
index 7b8a70f307a..5274a34bb18 100644
--- a/Build/source/texk/texlive/linked_scripts/Makefile.in
+++ b/Build/source/texk/texlive/linked_scripts/Makefile.in
@@ -305,6 +305,8 @@ texmf_other_scripts = \
accfonts/vpl2vpl \
arara/arara.sh \
authorindex/authorindex \
+ bib2gls/bib2gls.sh \
+ bib2gls/convertgls2bib.sh \
bundledoc/arlatex \
bundledoc/bundledoc \
cachepic/cachepic.tlu \
diff --git a/Build/source/texk/texlive/linked_scripts/bib2gls/bib2gls.sh b/Build/source/texk/texlive/linked_scripts/bib2gls/bib2gls.sh
new file mode 100755
index 00000000000..5f9d7f71e60
--- /dev/null
+++ b/Build/source/texk/texlive/linked_scripts/bib2gls/bib2gls.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+kernel=`uname -s`
+if test "${kernel#*CYGWIN}" != "$kernel"
+then
+ jarpath=`cygpath -w $(kpsewhich --progname=bib2gls --format=texmfscripts bib2gls.jar)`
+else
+ jarpath=`kpsewhich --progname=bib2gls --format=texmfscripts bib2gls.jar`
+fi
+
+java -Djava.locale.providers=CLDR,JRE -jar "$jarpath" "$@"
+
diff --git a/Build/source/texk/texlive/linked_scripts/bib2gls/convertgls2bib.sh b/Build/source/texk/texlive/linked_scripts/bib2gls/convertgls2bib.sh
new file mode 100755
index 00000000000..3e7370b0ca7
--- /dev/null
+++ b/Build/source/texk/texlive/linked_scripts/bib2gls/convertgls2bib.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+kernel=`uname -s`
+if test "${kernel#*CYGWIN}" != "$kernel"
+then
+ jarpath=`cygpath -w $(kpsewhich --progname=convertgls2bib --format=texmfscripts convertgls2bib.jar)`
+else
+ jarpath=`kpsewhich --progname=convertgls2bib --format=texmfscripts convertgls2bib.jar`
+fi
+
+java -jar "$jarpath" "$@"
+
diff --git a/Build/source/texk/texlive/linked_scripts/scripts.lst b/Build/source/texk/texlive/linked_scripts/scripts.lst
index 3f7d35ce3c9..b10451b30e8 100644
--- a/Build/source/texk/texlive/linked_scripts/scripts.lst
+++ b/Build/source/texk/texlive/linked_scripts/scripts.lst
@@ -35,6 +35,8 @@ accfonts/vpl2ovp
accfonts/vpl2vpl
arara/arara.sh
authorindex/authorindex
+bib2gls/bib2gls.sh
+bib2gls/convertgls2bib.sh
bundledoc/arlatex
bundledoc/bundledoc
cachepic/cachepic.tlu