Blame SOURCES/0010-multipath-tools-Makefile-add-install-dependency.patch

6bed34
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
6bed34
From: Martin Wilck <mwilck@suse.com>
6bed34
Date: Tue, 12 May 2020 22:38:22 +0200
6bed34
Subject: [PATCH] multipath-tools Makefile: add install dependency
6bed34
6bed34
$(libdir) must exist before running "make install" on prioritizer, checker,
6bed34
and foreign libraries.
6bed34
6bed34
Cc: Christian Hesse <mail@eworm.de>
6bed34
Signed-off-by: Martin Wilck <mwilck@suse.com>
6bed34
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
6bed34
---
6bed34
 Makefile | 4 ++++
6bed34
 1 file changed, 4 insertions(+)
6bed34
6bed34
diff --git a/Makefile b/Makefile
6bed34
index fec3b73b..8bcaba66 100644
6bed34
--- a/Makefile
6bed34
+++ b/Makefile
6bed34
@@ -32,6 +32,10 @@ libmultipath libdmmp: libmpathcmd
6bed34
 libmpathpersist multipath multipathd: libmultipath
6bed34
 mpathpersist multipathd:  libmpathpersist
6bed34
 
6bed34
+libmultipath/checkers.install \
6bed34
+	libmultipath/prioritizers.install \
6bed34
+	libmultipath/foreign.install: libmultipath.install
6bed34
+
6bed34
 $(BUILDDIRS.clean):
6bed34
 	$(MAKE) -C ${@:.clean=} clean
6bed34
 
6bed34
-- 
6bed34
2.17.2
6bed34