summaryrefslogtreecommitdiff
path: root/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 /Makefile.in
parent1485ce69c4341ae3153acdc9cbd1f27f252c20fc (diff)
downloadlvm2-c737d348045479f71ea7d31eaeadda16eea94aa9.tar.gz
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 'Makefile.in')
-rw-r--r--Makefile.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 710c9a0cc..609dcd2d6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -15,7 +15,6 @@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = @top_builddir@
-VPATH = @srcdir@
SUBDIRS = doc include man scripts