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

make: make install_libexec a target of install_lvm2

This makes sure libexec scripts are available for lvm2 commands.
This commit is contained in:
Christian Hesse 2023-08-15 09:45:20 +02:00 committed by Zdenek Kabelac
parent 54617805b8
commit 41e4cefc2e

View File

@ -51,7 +51,7 @@ vpath %.ocf $(srcdir)
$(Q) $(INSTALL_DIR) $(ocf_scriptdir) $(Q) $(INSTALL_DIR) $(ocf_scriptdir)
$(Q) $(INSTALL_SCRIPT) $< $(ocf_scriptdir)/$(basename $(<F)) $(Q) $(INSTALL_SCRIPT) $< $(ocf_scriptdir)/$(basename $(<F))
install_lvm2: $(LVM_SCRIPTS:.sh=_install) install_lvm2: install_libexec $(LVM_SCRIPTS:.sh=_install)
install_device-mapper: $(DM_SCRIPTS:.sh=_install) install_device-mapper: $(DM_SCRIPTS:.sh=_install)
install_ocf: $(OCF_SCRIPTS:.ocf=_install) install_ocf: $(OCF_SCRIPTS:.ocf=_install)
@ -60,7 +60,7 @@ install_libexec:
$(Q) $(INSTALL_DIR) $(libexecdir) $(Q) $(INSTALL_DIR) $(libexecdir)
$(Q) $(INSTALL_SCRIPT) lvresize_fs_helper.sh $(libexecdir)/lvresize_fs_helper $(Q) $(INSTALL_SCRIPT) lvresize_fs_helper.sh $(libexecdir)/lvresize_fs_helper
install: install_lvm2 install_ocf install_device-mapper install_libexec install: install_lvm2 install_ocf install_device-mapper
# FIXME Customise for other distributions # FIXME Customise for other distributions