blob: 961f4b0a6593d93f29d09c029e8ed8ac9c8a6e3e (
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
|
#! /bin/sh -vx
# $Id$
# Copyright 2018 Karl Berry <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_bibtex=$BinDir/bibtex$ExeExt
test -d tests || mkdir -p tests
# in case we're invoked standalone instead of from make.
test -z "$srcdir" && srcdir=`cd \`dirname $0\`/.. && pwd`
cp $srcdir/tests/auxinclude.aux tests/xauxinclude.aux || exit 1
cp $srcdir/tests/auxinclude2.aux tests/auxinclude2.aux || exit 1
# [x]auxinclude.aux includes \@input{auxinclude2.aux}, to be found in
# the ./tests/ (working) subdir, which should be automatically checked
# since we invoke bibtex on tests/whatever.aux. See thread from
# http://tug.org/pipermail/tex-live/2018-May/041624.html.
#
TEXMFCNF=$srcdir/../kpathsea \
BSTINPUTS=$srcdir/tests \
BIBINPUTS=$srcdir/tests \
$_bibtex tests/xauxinclude || exit 1
|