summaryrefslogtreecommitdiffstats
path: root/daemons/dmeventd/plugins/mirror
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2010-04-09 21:34:25 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2010-04-09 21:34:25 +0000
commitc737d348045479f71ea7d31eaeadda16eea94aa9 (patch)
tree6e8337aabe8a61f34a9afbd95b1132139ccb1b12 /daemons/dmeventd/plugins/mirror
parent1485ce69c4341ae3153acdc9cbd1f27f252c20fc (diff)
downloadlvm2-c737d348045479f71ea7d31eaeadda16eea94aa9.tar.gz
lvm2-c737d348045479f71ea7d31eaeadda16eea94aa9.tar.xz
lvm2-c737d348045479f71ea7d31eaeadda16eea94aa9.zip
Use vpath instead of VPATH.
Usage of VPATH makes troubles when used within $(builddir). Not only source files are being found through VPATH, but targets as well. (make --debug=v) Thus if user builds the code in $(srcdir) and also in some $(builddir) he gets mangled results as some generated files (i.e. .export.sym) are 'reused' from $(srcdir) instead of $(builddir). This patch switches to use vpath were we could explicitly name suffixes that should be looked via vpath - we must take care, we do not generate files with these suffixes: .c, .in, .po, .exported_symbols
Diffstat (limited to 'daemons/dmeventd/plugins/mirror')
-rw-r--r--daemons/dmeventd/plugins/mirror/Makefile.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/daemons/dmeventd/plugins/mirror/Makefile.in b/daemons/dmeventd/plugins/mirror/Makefile.in
index 02c4e249..3dfc3a22 100644
--- a/daemons/dmeventd/plugins/mirror/Makefile.in
+++ b/daemons/dmeventd/plugins/mirror/Makefile.in
@@ -15,7 +15,6 @@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = @top_builddir@
-VPATH = @srcdir@
INCLUDES += -I$(top_srcdir)/tools -I$(top_srcdir)/daemons/dmeventd/plugins/lvm2
CLDFLAGS += -L$(top_builddir)/tools -L$(top_builddir)/daemons/dmeventd/plugins/lvm2