summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2013-05-09 13:40:00 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2013-05-09 13:40:00 +0100
commitd75414bc94ee1e9ba74336350755df60330edbe7 (patch)
tree8869be81be2b9fefa62f76dd7bd1a95ed0225d49
parenta592c98461728e22423a5c6ecfd5cebf0150adf0 (diff)
support for out-of-tree tests
-rw-r--r--Makefile.am4
1 files 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; }