1
0
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:
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,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))