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

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