1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix install_ocf

When builddir is different from srcdir install_ocf: has not been able to find
files for installation.
This commit is contained in:
Zdenek Kabelac 2011-09-24 21:05:03 +00:00
parent 9e5486bb65
commit 00e72fcfee
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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 $(<F))