mirror of
git://sourceware.org/git/lvm2.git
synced 2025-08-02 04:22:02 +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:
@ -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))
|
||||
|
Reference in New Issue
Block a user