summaryrefslogtreecommitdiffstats
path: root/lib/Makefile.in
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 /lib/Makefile.in
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 'lib/Makefile.in')
-rw-r--r--lib/Makefile.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Makefile.in b/lib/Makefile.in
index acfb23ed..9662120a 100644
--- a/lib/Makefile.in
+++ b/lib/Makefile.in
@@ -15,7 +15,6 @@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = @top_builddir@
-VPATH = @srcdir@
ifeq ("@LVM1@", "shared")
SUBDIRS = format1