#!/bin/sh
# Run the xindy target from my latex tests.
# This is wncoded in UTF-8 and uses lualatex, xindy, makeglossaries.
# The output is intended to be humorous.

cd /tmp

test -d latex-test-20190318 || tar -xf /sources/latex-test-20190318.tar.xz
cd latex-test-20190318

# The Configure script checks which tests can be run.  As part of that
# it runs luaotfload-tool so it can look for fonts.  That seems to take
# very variable amounts of time.

test -f Makefile || ./configure

make clean

# only time the creation of the PDF
time make xindy


