#!/bin/sh
# Run the bibtexidx target from my latex tests.
# This is old-style markup using pdflatex, bibtex, makeindex
# Unusually for my latex tests, this is intended to be serious.

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 bibtexidx


