testsuite: find files when building in remote directory

* doc/Makefile.am, src/ltltest/defs.in, src/ltltest/latex.test: Here.
This commit is contained in:
Alexandre Lewkowicz 2014-02-10 16:56:20 +01:00
parent eb778c569a
commit cb0b3d3c67
3 changed files with 4 additions and 3 deletions

View file

@ -51,9 +51,9 @@ dist_pkgdata_DATA = $(srcdir)/spot.tag
.PHONY: org .PHONY: org
org: org:
cd $(top_srcdir) && make doc/org/init.el cd $(top_builddir) && make doc/org/init.el
rm -rf $(srcdir)/userdoc; mkdir -p tmp; cd tmp; \ rm -rf $(srcdir)/userdoc; mkdir -p tmp; cd tmp; \
$(EMACS) --batch -Q -l $(abs_srcdir)/org/init.el $(EMACS) --batch -Q -l ../org/init.el
rm -rf tmp rm -rf tmp
ORG_FILES = \ ORG_FILES = \

View file

@ -51,6 +51,7 @@ cd $testSubDir
DOT='@DOT@' DOT='@DOT@'
VALGRIND='@VALGRIND@' VALGRIND='@VALGRIND@'
top_srcdir='../@top_srcdir@'
run() run()
{ {

View file

@ -55,7 +55,7 @@ cat <<\EOF
EOF EOF
) > output.tex ) > output.tex
TEXINPUTS=$srcdir/../../../doc/tl: \ TEXINPUTS=$top_srcdir/doc/tl: \
latexmk -f -silent -pdf -ps- -dvi- -pvc- output.tex latexmk -f -silent -pdf -ps- -dvi- -pvc- output.tex
# latexmk will have a non-zero exit status on failure, so we will # latexmk will have a non-zero exit status on failure, so we will