From d75414bc94ee1e9ba74336350755df60330edbe7 Mon Sep 17 00:00:00 2001 From: Stephen Dolan Date: Thu, 9 May 2013 13:40:00 +0100 Subject: [PATCH] support for out-of-tree tests --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index b077842f..abf32376 100644 --- a/Makefile.am +++ b/Makefile.am @@ -43,13 +43,13 @@ jq_SOURCES = ${JQ_SRC} main.c ### Tests (make check) TESTS = tests/all.test -TEST_LOG_COMPILER = tests/run +TEST_LOG_COMPILER = ${srcdir}/tests/run ### Building the manpage man_MANS = jq.1 -jq.1: docs/content/3.manual/manual.yml +jq.1: $(srcdir)/docs/content/3.manual/manual.yml ( cd ${abs_srcdir}/docs; rake manpage ) > $@ || { rm -f $@; false; }