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

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