Skip to contentSkip to conversation

main - makefiles: add alias for device-mapper

PATCH Zdenek Kabelac 1 participant 1 message Mar 2, 2021 Kbuild

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=5509e764f1c542768b2dd5e39d2b900a96a3b281
Commit:        5509e764f1c542768b2dd5e39d2b900a96a3b281
Parent:        8d93d8b7b7f9ae90e56f171e694da0304ab3c6fe
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Sun Feb 28 01:19:23 2021 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Mar 2 22:54:40 2021 +0100

makefiles: add alias for device-mapper

Support also 'make device_mapper' so user is less confused.

---
 Makefile.in        | 1 +
 libdm/make.tmpl.in | 1 +
 make.tmpl.in       | 1 +
 3 files changed, 3 insertions(+)
Makefile.in +1 -0
index 095f1f447..a4278cade 100644
@@ -66,6 +66,7 @@ daemons.device-mapper: libdm.device-mapper
 tools.device-mapper: libdm.device-mapper
 scripts.device-mapper: include.device-mapper
 device-mapper: tools.device-mapper daemons.device-mapper man.device-mapper
+device_mapper: device-mapper
 
 ifeq ("@INTL@", "yes")
 lib.pofile: include.pofile
libdm/make.tmpl.in +1 -0
index aaf8a5e77..4a32b8f94 100644
@@ -310,6 +310,7 @@ all: $(SUBDIRS) $(TARGETS)
 
 install: all $(SUBDIRS.install)
 install_device-mapper: $(SUBDIRS.install_device-mapper)
+install_device_mapper: install_device-mapper
 cflow: $(SUBDIRS.cflow)
 
 $(SUBDIRS): $(SUBDIRS.device-mapper)
make.tmpl.in +1 -0
index 4549746ab..35d8267df 100644
@@ -340,6 +340,7 @@ all: $(SUBDIRS) $(TARGETS)
 install: all $(SUBDIRS.install)
 install_cluster: all $(SUBDIRS.install_cluster)
 install_device-mapper: $(SUBDIRS.install_device-mapper)
+install_device_mapper: install_device-mapper
 install_lvm2: $(SUBDIRS.install_lvm2)
 install_ocf: $(SUBDIRS.install_ocf)
 cflow: $(SUBDIRS.cflow)