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

make: move blkdeactivate script and blkdeactivate.8 man page installation from install_lvm2 to install_device-mapper target

This completes commit 7a4e27eee5.
This commit is contained in:
Peter Rajnoha 2015-04-14 15:21:22 +02:00
parent 7a4e27eee5
commit 375ed98ae9
2 changed files with 9 additions and 7 deletions

View File

@ -50,7 +50,7 @@ MAN8=lvm-dumpconfig.8 \
pvresize.8 pvs.8 pvscan.8 vgcfgbackup.8 vgcfgrestore.8 vgchange.8 \
vgck.8 vgcreate.8 vgconvert.8 vgdisplay.8 vgexport.8 vgextend.8 \
vgimport.8 vgimportclone.8 vgmerge.8 vgmknodes.8 vgreduce.8 vgremove.8 \
vgrename.8 vgs.8 vgscan.8 vgsplit.8 $(FSADMMAN) $(BLKDEACTIVATEMAN) $(LVMETAD)
vgrename.8 vgs.8 vgscan.8 vgsplit.8 $(FSADMMAN) $(LVMETAD)
ifneq ("@CLVMD@", "none")
MAN8CLUSTER=clvmd.8
@ -70,7 +70,7 @@ ifneq ("@THIN@", "none")
MAN7+=lvmthin.7
endif
MAN8DM=dmsetup.8 $(DMEVENTDMAN)
MAN8DM=dmsetup.8 $(DMEVENTDMAN) $(BLKDEACTIVATEMAN)
MAN5DIR=$(mandir)/man5
MAN7DIR=$(mandir)/man7
MAN8DIR=$(mandir)/man8

View File

@ -33,14 +33,15 @@ ifeq ("@DMEVENTD@", "yes")
LVMLIBS += -ldevmapper-event
endif
SCRIPTS = lvmdump.sh lvmconf.sh vgimportclone.sh
LVM_SCRIPTS = lvmdump.sh lvmconf.sh vgimportclone.sh
DM_SCRIPTS =
ifeq ("@FSADM@", "yes")
SCRIPTS += fsadm.sh
LVM_SCRIPTS += fsadm.sh
endif
ifeq ("@BLKDEACTIVATE@", "yes")
SCRIPTS += blkdeactivate.sh
DM_SCRIPTS += blkdeactivate.sh
endif
OCF_SCRIPTS =
@ -58,11 +59,12 @@ vpath %.ocf $(srcdir)
$(INSTALL_DIR) $(ocf_scriptdir)
$(INSTALL_SCRIPT) $< $(ocf_scriptdir)/$(basename $(<F))
install_lvm2: $(SCRIPTS:.sh=_install)
install_lvm2: $(LVM_SCRIPTS:.sh=_install)
install_device-mapper: $(DM_SCRIPTS:.sh=_install)
install_ocf: $(OCF_SCRIPTS:.ocf=_install)
install: install_lvm2 install_ocf
install: install_lvm2 install_ocf install_device-mapper
# FIXME Customise for other distributions
install_initscripts: