From 17dcf52606b3d8c0464142e39d61eb4df8eb58ee Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 11 Aug 2019 00:39:40 +0200 Subject: [PATCH] Makefile.am: Use $(srcdir) and $(*builddir) in target "run-xmltest" --- expat/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/expat/Makefile.am b/expat/Makefile.am index 2d8b66c8..04c59937 100644 --- a/expat/Makefile.am +++ b/expat/Makefile.am @@ -145,9 +145,9 @@ tests/xmlconf: tests/xmlts.zip run-xmltest: tests/xmlconf if WITH_XMLWF $(MAKE) -C xmlwf - tests/xmltest.sh "$(PWD)/run.sh $(PWD)/xmlwf/xmlwf@EXEEXT@" 2>&1 | tee tests/xmltest.log - ./fix-xmltest-log.sh tests/xmltest.log - diff -u tests/xmltest.log.expected tests/xmltest.log + $(srcdir)/tests/xmltest.sh "$(abs_builddir)/run.sh $(abs_builddir)/xmlwf/xmlwf@EXEEXT@" 2>&1 | tee $(builddir)/tests/xmltest.log + $(srcdir)/fix-xmltest-log.sh $(builddir)/tests/xmltest.log + diff -u $(srcdir)/tests/xmltest.log.expected $(builddir)/tests/xmltest.log else @echo 'ERROR: xmlwf is needed for "make run-xmltest".' >&2 @echo 'ERROR: Please re-configure without --without-xmlwf.' >&2