Skip to contentSkip to conversation

master - Makefile: fix build in non src dir

PATCH Zdenek Kabelac 1 participant 1 message Nov 19, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c697f501c7d9f29b6e0b32225b962d1632654004
Commit:        c697f501c7d9f29b6e0b32225b962d1632654004
Parent:        3a6f91d7139119bea664050a957cbc21490398bc
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Nov 15 23:44:18 2013 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Nov 19 10:55:11 2013 +0100

Makefile: fix build in non src dir

Fix 'make install' from builddir != srcdir.

---
 WHATS_NEW        |    1 +
 conf/Makefile.in |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
WHATS_NEW +1 -0
index 0a4909a..bd18c6f 100644
@@ -1,5 +1,6 @@
 Version 2.02.105 -
 =====================================
+  Fix install of conf subdir when not building in srcdir.
   Add reporting of thin_id device id for thin volumes.
   Fix reporting of empty numerical values.
   Simplify reporting code.
conf/Makefile.in +1 -1
index 8b5238a..3f66621 100644
@@ -19,7 +19,7 @@ CONFSRC=example.conf
 CONFDEST=lvm.conf
 
 DEFAULT_PROFILE=default.profile
-PROFILES=$(DEFAULT_PROFILE) thin-performance.profile
+PROFILES=$(DEFAULT_PROFILE) $(srcdir)/thin-performance.profile
 
 include $(top_builddir)/make.tmpl