diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2010-04-09 21:34:25 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2010-04-09 21:34:25 +0000 |
commit | c737d348045479f71ea7d31eaeadda16eea94aa9 (patch) | |
tree | 6e8337aabe8a61f34a9afbd95b1132139ccb1b12 /daemons | |
parent | 1485ce69c4341ae3153acdc9cbd1f27f252c20fc (diff) | |
download | lvm2-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')
-rw-r--r-- | daemons/Makefile.in | 1 | ||||
-rw-r--r-- | daemons/clvmd/Makefile.in | 1 | ||||
-rw-r--r-- | daemons/cmirrord/Makefile.in | 1 | ||||
-rw-r--r-- | daemons/dmeventd/Makefile.in | 1 | ||||
-rw-r--r-- | daemons/dmeventd/plugins/Makefile.in | 1 | ||||
-rw-r--r-- | daemons/dmeventd/plugins/lvm2/Makefile.in | 1 | ||||
-rw-r--r-- | daemons/dmeventd/plugins/mirror/Makefile.in | 1 | ||||
-rw-r--r-- | daemons/dmeventd/plugins/snapshot/Makefile.in | 1 |
8 files changed, 0 insertions, 8 deletions
diff --git a/daemons/Makefile.in b/daemons/Makefile.in index 2f5837a8..ce400d78 100644 --- a/daemons/Makefile.in +++ b/daemons/Makefile.in @@ -14,7 +14,6 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ -VPATH = @srcdir@ .PHONY: dmeventd clvmd cmirrord diff --git a/daemons/clvmd/Makefile.in b/daemons/clvmd/Makefile.in index e3f70d5a..773c3689 100644 --- a/daemons/clvmd/Makefile.in +++ b/daemons/clvmd/Makefile.in @@ -14,7 +14,6 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ -VPATH = @srcdir@ CCS_LIBS = @CCS_LIBS@ CCS_CFLAGS = @CCS_CFLAGS@ diff --git a/daemons/cmirrord/Makefile.in b/daemons/cmirrord/Makefile.in index b8928c74..583c4549 100644 --- a/daemons/cmirrord/Makefile.in +++ b/daemons/cmirrord/Makefile.in @@ -14,7 +14,6 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ -VPATH = @srcdir@ CPG_LIBS = @CPG_LIBS@ CPG_CFLAGS = @CPG_CFLAGS@ diff --git a/daemons/dmeventd/Makefile.in b/daemons/dmeventd/Makefile.in index cd2a4d36..e0a63495 100644 --- a/daemons/dmeventd/Makefile.in +++ b/daemons/dmeventd/Makefile.in @@ -14,7 +14,6 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ -VPATH = @srcdir@ SOURCES = libdevmapper-event.c SOURCES2 = dmeventd.c diff --git a/daemons/dmeventd/plugins/Makefile.in b/daemons/dmeventd/plugins/Makefile.in index 6b25235d..45176ad7 100644 --- a/daemons/dmeventd/plugins/Makefile.in +++ b/daemons/dmeventd/plugins/Makefile.in @@ -15,7 +15,6 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ -VPATH = @srcdir@ SUBDIRS += lvm2 mirror snapshot diff --git a/daemons/dmeventd/plugins/lvm2/Makefile.in b/daemons/dmeventd/plugins/lvm2/Makefile.in index 0f23c845..f44a5626 100644 --- a/daemons/dmeventd/plugins/lvm2/Makefile.in +++ b/daemons/dmeventd/plugins/lvm2/Makefile.in @@ -14,7 +14,6 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ -VPATH = @srcdir@ CLDFLAGS += -L$(top_builddir)/tools 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 diff --git a/daemons/dmeventd/plugins/snapshot/Makefile.in b/daemons/dmeventd/plugins/snapshot/Makefile.in index 793fd388..0f202b38 100644 --- a/daemons/dmeventd/plugins/snapshot/Makefile.in +++ b/daemons/dmeventd/plugins/snapshot/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 |