From 00e72fcfee08a6980df75d184a37b0a9b49db62a Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Sat, 24 Sep 2011 21:05:03 +0000 Subject: [PATCH] Fix install_ocf When builddir is different from srcdir install_ocf: has not been able to find files for installation. --- WHATS_NEW | 1 + scripts/Makefile.in | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW b/WHATS_NEW index f2ad33ea2..4c5c25303 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.89 - ================================== + Fix install_ocf make target when srcdir != builddir. (2.02.80) Support env vars LVM_CLVMD_BINARY and LVM_BINARY in clvmd. Fix restart of clvmd (preserve exlusive locks). (2.02.64) Add 'Volume Type' lv_attr characters for RAID and RAID_IMAGE. diff --git a/scripts/Makefile.in b/scripts/Makefile.in index 7262fbb4f..bf1b1c415 100644 --- a/scripts/Makefile.in +++ b/scripts/Makefile.in @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2010 Red Hat, Inc. All rights reserved. +# Copyright (C) 2006-2011 Red Hat, Inc. All rights reserved. # # This file is part of LVM2. # @@ -28,6 +28,7 @@ ifeq ("@OCF@", "yes") endif vpath %.sh $(srcdir) +vpath %.ocf $(srcdir) %_install: %.sh $(INSTALL_PROGRAM) -D $< $(sbindir)/$(basename $(