summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlpsrc/luajittex.tlpsrc
blob: 2d839502dc76759a77be244d16aa0465b620eb2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
category TLCore
shortdesc LuaTeX with just-in-time (jit) compiler, with and without HarfBuzz

# Two engines plus texlua* links.
binpattern f/!${global_no_luajit_platforms} bin/${ARCH}/luajittex
binpattern f/!${global_no_luajit_platforms} bin/${ARCH}/texluajit
binpattern f/!${global_no_luajit_platforms} bin/${ARCH}/texluajitc
binpattern f/!${global_no_luajit_platforms} bin/${ARCH}/luajithbtex
#
# Windows has additional .dll files as usual. The .exe are matched above.
binpattern f bin/win32/luajit51.dll
binpattern f bin/win32/luajittex.dll
binpattern f bin/win32/luajithbtex.dll
#
binpattern f/i386-cygwin   bin/i386-cygwin/cygtexluajit*.dll
binpattern f/x86_64-cygwin bin/x86_64-cygwin/cygtexluajit*.dll

# luajittex.1 (non-hb) is matched by the package name, so no need to
# mention that explicitly.
docpattern +f texmf-dist/doc/man/man1/luajithbtex.*

# On platforms where there is no jit, it will be ignored
# due to the special --no-error-if-no-engine option in fmtutil,
# invoked by specifications in TLConfig.pm and tlmgr.pl.
execute AddFormat name=luajittex engine=luajittex options="luatex.ini" \
  patterns=language.def,language.dat.lua \
  fmttriggers=${global_luatex_deps},hyph-utf8,luatex
#
execute AddFormat name=luajithbtex engine=luajithbtex options="luatex.ini" \
  patterns=language.def,language.dat.lua \
  fmttriggers=${global_luatex_deps},hyph-utf8,luatex

# can't have luajittex without luatex.
depend luatex