summaryrefslogtreecommitdiffstats
path: root/test/api
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2009-10-02 19:10:31 +0000
committerAlasdair Kergon <agk@redhat.com>2009-10-02 19:10:31 +0000
commitdb8b5af9d94f537b6e9c9483c2bde06ac9edb621 (patch)
tree11cca90b013c731ba7060d0f608657127fb794dc /test/api
parent1ae301590bbdebdcd7464e52fed7c49c12fa00bf (diff)
downloadlvm2-db8b5af9d94f537b6e9c9483c2bde06ac9edb621.tar.gz
lvm2-db8b5af9d94f537b6e9c9483c2bde06ac9edb621.tar.xz
lvm2-db8b5af9d94f537b6e9c9483c2bde06ac9edb621.zip
Allow for a build directory separate from the source.
Diffstat (limited to 'test/api')
-rw-r--r--test/api/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/api/Makefile.in b/test/api/Makefile.in
index 0c784bd8..29dbbdc2 100644
--- a/test/api/Makefile.in
+++ b/test/api/Makefile.in
@@ -13,6 +13,7 @@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
+top_builddir = @top_builddir@
VPATH = @srcdir@
ifeq ("@DEBUG@", "yes")
@@ -22,7 +23,7 @@ endif
TARGETS = vgtest
test_SOURCES = test.c
vgtest_SOURCES = vgtest.c
-INCLUDES += -I${top_srcdir}/include
+INCLUDES += -I../../include
LVMLIBS = @LVM2APP_LIB@ -ldevmapper
DEPLIBS = $(top_srcdir)/liblvm/liblvm2app.so $(top_srcdir)/libdm/libdevmapper.so