From db8b5af9d94f537b6e9c9483c2bde06ac9edb621 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Fri, 2 Oct 2009 19:10:31 +0000 Subject: Allow for a build directory separate from the source. --- daemons/dmeventd/plugins/mirror/Makefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'daemons/dmeventd/plugins/mirror') diff --git a/daemons/dmeventd/plugins/mirror/Makefile.in b/daemons/dmeventd/plugins/mirror/Makefile.in index 51eaba60..1bc586a3 100644 --- a/daemons/dmeventd/plugins/mirror/Makefile.in +++ b/daemons/dmeventd/plugins/mirror/Makefile.in @@ -14,10 +14,11 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ +top_builddir = @top_builddir@ VPATH = @srcdir@ INCLUDES += -I${top_srcdir}/tools -CLDFLAGS += -L${top_srcdir}/tools -ldevmapper @LVM2CMD_LIB@ +CLDFLAGS += -L${top_builddir}/tools -ldevmapper @LVM2CMD_LIB@ SOURCES = dmeventd_mirror.c @@ -29,7 +30,7 @@ endif LIB_VERSION = $(LIB_VERSION_LVM) -include $(top_srcdir)/make.tmpl +include $(top_builddir)/make.tmpl install_lvm2: libdevmapper-event-lvm2mirror.$(LIB_SUFFIX) $(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \ -- cgit